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.