fmath
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
32-bit floating point math library for GO. This library provides float32 counterparts for Go's float64 math functions. E.g.: Sqrt(x float32) float32. The implementation partially uses assembly code (see, e.g., sqrt_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.