Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FormatToString = map[NumberFormat]string{ DEC: "dec", HEX: "hex", OCT: "oct", BIN: "bin", RAT: "rat", SCI: "sci", }
View Source
var StringToFormat = map[string]NumberFormat{}
Functions ¶
This section is empty.
Types ¶
type IntOperationError ¶
type IntOperationError struct {
// contains filtered or unexported fields
}
func (IntOperationError) Error ¶
func (x IntOperationError) Error() string
type Number ¶
type Number struct { Num *big.Rat Fmt NumberFormat }
type NumberFormat ¶
type NumberFormat int
const ( DEC NumberFormat = iota HEX OCT BIN RAT SCI )
func (NumberFormat) String ¶
func (n NumberFormat) String() string
type UnsupportedBinOP ¶
type UnsupportedBinOP struct {
// contains filtered or unexported fields
}
func (UnsupportedBinOP) Error ¶
func (err UnsupportedBinOP) Error() string
Click to show internal directories.
Click to hide internal directories.