Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.6% on proxy.golang.org
Top 4.2% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/senpathi/gofloat

Gofloat is a library that does floating-point number calculations with fixed precision. Below examples show why Gofloat library is useful when doing floating-point calculations. Without Gofloat With Gofloat Gofloat make sure to do calculations on floating-point numbers with fix number of precision digits. it converts floating-point numbers into gofloat's `Float` type with sent precision length and do calculations in gofloat's `Float` type and it can be converted back into floating-point. Below example shows how to use the library in applications. Please see the example programs in the examples directory for reference. Limitations. If the calculated result is larger than maximum float64 value, result will be incorrect.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/senpathi/gofloat
Keywords: currency-conversion, float, float-calculations, float-point, floating-point, go, golang, math, precision
License: MIT
Latest release: about 3 years ago
First release: about 3 years ago
Namespace: github.com/senpathi
Dependent packages: 2
Dependent repositories: 1
Stars: 8 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

    Loading...
    Readme
    Loading...