aboutsummaryrefslogtreecommitdiff
path: root/lib/math/big/float.go
AgeCommit message (Collapse)Author
2025-01-23all: replace "interface{}" with "any"Shulhan
2023-09-11math/big: fix comment in CreateFloat and ParseFloatShulhan
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2021-12-03math/big: refactoring AddFloat to accept variadic interface{}Shulhan
Previously, the AddFloat function only accept two interface parameters. This changes make the AddFloat to accept many interface parameters.
2021-12-03math/big: refactor NewFloat to accept interface{} instead of float64 onlyShulhan
The following types is added and can be initialized to Float: []byte, uint, uint16, uint32, uint64, big.Int, *big.Int, big.Rat, and *big.Rat.
2020-07-06big: add global flag MarshalJSONAsStringShulhan
MarshalJSONAsString define the default return behaviour of MarshalJSON(). If its true (the default) the returned JSON format will encapsulated in double quote, as string instead of as numeric.
2020-06-10all: update email addressShulhan
2020-06-06all: use default linter optionsShulhan
2020-03-26all: fix and suppress linter warningsShulhan
2020-03-20big: new package that extends the capabilities of "math/big"Shulhan
The "big" package add custom global precision, rounding mode, and number of digit precision after decimal point for all instance of Float that use the package.