proxy.golang.org : github.com/vegaprotocol/decimal
Multiprecision decimal numbers. For floating-point formatting only; not general purpose. Only operations are assign and (binary) left/right shift. Can do binary floating point in multiprecision decimal precisely because 2 divides 10; cannot do decimal floating point in multiprecision binary precisely. Package decimal implements an arbitrary precision fixed-point decimal. To use as part of a struct: The zero-value of a Decimal is 0, as you would expect. The best way to create a new Decimal is to use decimal.NewFromString, ex: NOTE: This can "only" represent numbers with a maximum of 2^31 digits after the decimal point. Multiprecision decimal numbers. For floating-point formatting only; not general purpose. Only operations are assign and (binary) left/right shift. Can do binary floating point in multiprecision decimal precisely because 2 divides 10; cannot do decimal floating point in multiprecision binary precisely.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/vegaprotocol/decimal
License: MIT
Latest release: about 5 years ago
First release: over 7 years ago
Namespace: github.com/vegaprotocol
Dependent repositories: 3
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 11 days ago
code.vegaprotocol.io/vegawallet-desktop v0.15.0
Desktop application for Vega Protocol's wallet36 versions - Latest release: about 1 year ago - 15 stars on GitHub
github.com/vegaprotocol/networks-internal/scripts v0.0.0-20240124185153-c03fdd51d608
The configuration for vega operated testnets23 versions - Latest release: over 1 year ago - 1 stars on GitHub
code.vegaprotocol.io/vegatools v0.73.12
A go command line utility providing a bunch of tools to use with a Vega network6 versions - Latest release: over 1 year ago - 3 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.