Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/irifrance/fx

Package fx provides binary fixed point numbers based on int64s. The fixed point numbers support multiplication, division, float64 conversion, Sin, Cos, Tan, Atan, const Pi, Sqrt, const Sqrt2 Build flags may be used to define different q's (number of fractional bits), and a generator program generates the necessary constants for more options of q values. Using fixed point numbers effectively requires some getting used to. They are generally used in media and hardware in contexts where the exact number of bits required to accomplish some task has been pre-calculated. In such contexts, they can be very effective and offer nice benefits. fixed point numbers are not so well suited as general purpose fixed-number-of words number types. When the assumptions about the required bits for an application go out the window, fixed point numbers are not as robust as floats. In summary, fixed point numbers offer the following avantages as compared to floats. with the following costs as compared to floats. Package fx was developed primarily in support of an application which needed replicability accross platforms and programming languages of some trigonometric functions and which also targeted implementability in hardware without FPU, or perhaps even without soft floats. To date, most emphasis has been on clarity, precision, and correctness. Optimisations for speed will be added on-demand, or on-offer of contributions. The package has a decently thorough test suite, is based on standard numerical algorithms, and is in use, but as of this writing (06/2018), it is brand new.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/irifrance/fx
Keywords: cordic, fixed-point, generator, golang, numbers, trigonometry
License: BSD-3-Clause
Latest release: almost 6 years ago
First release: almost 6 years ago
Namespace: github.com/irifrance
Stars: 7 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago

    Loading...
    Readme
    Loading...