go-math32

module
v0.0.0-...-a2301cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: BSD-3-Clause

README

go-math32

The standard golang math package converted to only use IEEE 754 single-precision (32-bits).

Rationale and excluded functionality

This was made while experimenting with an unreleased project compiled using TinyGo that targets a 32-bit architecture.

Some files were deleted because I wasn't going to use them in the original project, and thus did not feel like porting them:

  • acosh.go
  • asinh.go
  • atanh.go
  • cbrt.go
  • cmplx/cmath_test.go
  • expm1.go
  • gamma.go
  • lgamma.go
  • nextafter.go
  • pow10.go

They may be added at a later date.

License

The BSD 3-clause from upstream.

Directories

Path Synopsis
Package big implements arbitrary-precision arithmetic (big numbers).
Package big implements arbitrary-precision arithmetic (big numbers).
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types.
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types.
Package cmplx provides basic constants and mathematical functions for complex numbers.
Package cmplx provides basic constants and mathematical functions for complex numbers.
Package rand implements pseudo-random number generators.
Package rand implements pseudo-random number generators.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL