Registry / utility / inf-v0

inf-v0

JSON →
library0.9.1gogounverified

Package inf implements infinite-precision decimal arithmetic.

go get gopkg.in/inf.v0
INSTALL
IMPORT
SIG · INF-V0
I
inf-v0
utilitygov0.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

inf
gopkg.in/inf.v0

Creates a decimal number with infinite precision.

import "gopkg.in/inf.v0" func main() { d := inf.NewDec(123, 2) // 1.23 fmt.Println(d) }
Debug
Known issues
gotchaThis package is experimental and the API may change.
fix
Use with caution; consider alternatives for production.
affects: >=0.9.0
Upgrade
Version history
0.9.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
inf-v0 — go get inf-v0 · libregistry