P
.github
Create go.yml
_exp_arm64.s
guard assembly files against tinygo and noasm build tags
_stubs_risc64.s
guard assembly files against tinygo and noasm build tags
.gitignore
Initial commit
abs.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
acos.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
acosh.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
all_test.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
asin.go
asin,acos,atan: replace glibc with Go reference (#26)
asinh.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
atan.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
atan2.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
atanh.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
bits.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
cbrt.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
const.go
Updated Tanh to proper float32 impl
copysign.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
cosh.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
dim.go
guard assembly files against tinygo and noasm build tags
doc.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
erf.go
add fma implementation and missing equivalent math package calls
erfc.go
add fma implementation and missing equivalent math package calls
exp_amd64.s
guard assembly files against tinygo and noasm build tags
exp_asm.go
exclude asm builds with tinygo. Resolves #44
exp_noasm.go
exclude asm builds with tinygo. Resolves #44
exp.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
exp2_asm.go
exclude asm builds with tinygo. Resolves #44
exp2_noasm.go
exclude asm builds with tinygo. Resolves #44
expm1f.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
export_test.go
fix undefined relocation target errors
floor.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
fma_test.go
tests: round the naive FMA baseline explicitly
fma.go
add fma implementation and missing equivalent math package calls
frexp.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
gamma.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
go.mod
Added gomod
hypot.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
j0.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
j1.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
jn.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
ldexp.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
lgamma.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
LICENSE
Fix #16
log_amd64.s
guard assembly files against tinygo and noasm build tags
log_asm.go
exclude asm builds with tinygo. Resolves #44
log_noasm.go
exclude asm builds with tinygo. Resolves #44
log.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
log10.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
log1p.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
log2.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
logb.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
math32_test.go
Don't try to run vet on tinygo, which does not yet support fork/exec
mod.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
modf.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
nextafter.go
add fma implementation and missing equivalent math package calls
pow.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
README.md
Cleaned up licensing stuff. Didn't realize they'd look so fugly on godoc.
remainder_amd64.s
guard assembly files against tinygo and noasm build tags
remainder_asm.go
exclude asm builds with tinygo. Resolves #44
remainder_noasm.go
exclude asm builds with tinygo. Resolves #44
remainder.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
round.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
signbit.go
Cleaned up licensing stuff. Didn't realize they'd look so fugly on godoc.
sincos.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
sinhf.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
sqrt_amd64.s
guard assembly files against tinygo and noasm build tags
sqrt_arm64.s
guard assembly files against tinygo and noasm build tags
sqrt_asm.go
exclude asm builds with tinygo. Resolves #44
sqrt_noasm.go
exclude asm builds with tinygo. Resolves #44
sqrt.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
stubs_386.s
guard assembly files against tinygo and noasm build tags
stubs_arm.s
guard assembly files against tinygo and noasm build tags
stubs_arm64.s
guard assembly files against tinygo and noasm build tags
stubs_ppc64le.s
guard assembly files against tinygo and noasm build tags
stubs_s390x.s
guard assembly files against tinygo and noasm build tags
stubs_wasm.s
guard assembly files against tinygo and noasm build tags
tan.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
tanh.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
unsafe.go
asin,acos: add pure go implementation based on glibc (#25)
y0.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase
y1.go
add missing docstrings; fix 1/x roundoff bugs in tests; disambiguate 1/x in code; go fmt codebase

math32

A float32 version of Go's math package. The majority of code in this library is a thin float32 wrapper over the results of the math package that comes in the standard lib.

The original code is lifted from the Go standard library which is governed by a BSD-style licence which can be found here: https://golang.org/LICENSE.