package
0.0.0-20240502073936-1137f6adf7e9
Repository: https://github.com/ungerik/go3d.git
Documentation: pkg.go.dev
# README
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.
# Functions
float32 version of math.Fabsf.
float32 version of math.Acos.
float32 version of math.Acosh.
float32 version of math.Asin.
float32 version of math.Asinh.
float32 version of math.Atan.
float32 version of math.Atan2.
float32 version of math.Atanh.
float32 version of math.Cbrt.
float32 version of math.Ceil.
float32 version of math.Copysign.
float32 version of math.Cos.
float32 version of math.Cosh.
float32 version of math.Fdimf.
float32 version of math.Erf.
float32 version of math.Erfc.
float32 version of math.Exp.
float32 version of math.Exp2.
float32 version of math.Expm1.
float32 version of math.Floor.
float32 version of math.Gamma.
float32 version of math.Hypot.
float32 version of math.J0.
float32 version of math.J1.
float32 version of math.Log.
float32 version of math.Log10.
float32 version of math.Log1p.
float32 version of math.Log2.
float32 version of math.Logb.
float32 version of math.Max.
float32 version of math.Min.
float32 version of math.Fmodf.
float32 version of math.Pow.
float32 version of math.Remainder.
float32 version of math.Sin.
float32 version of math.Sincos.
float32 version of math.Sinh.
float32 version of math.Tan.
float32 version of math.Tanh.
float32 version of math.Trunc.
float32 version of math.Y0.
float32 version of math.Y1.
# Constants
A001113.
A002392.
A002162.
Mathematical constants.
Mathematical constants.
2**127 * (2**24 - 1) / 2**23.
2**1023 * (2**53 - 1) / 2**52.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
Integer limit values.
A001622.
A000796.
1 / 2**(127 - 1 + 23).
1 / 2**(1023 - 1 + 52).
A002193.
A019774.
A139339.
A002161.