Skip to content

ungerik/fmath

 
 

Repository files navigation

32-bit floating point math library for GO.

This library provides float32 counterparts for Go's float64 math functions.
E.g.: Sqrtf(x float32) float32.

The implementation partially uses assembly code (see, e.g., sqrtf_amd64.s) for fast computation. However, when no assembly implementation exists yet a generic implementation is used which uses Go's float64 math functions underneath.

Note: the assembly code is not goinstallable on all platforms. Therefore, goinstall will compile the portable implementation. If you manually execute "make install", you will get the faster implementation.

About

float32 math library for GO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.2%
  • Shell 0.8%