Tests the accuracy of mathematical functions written in Go
| internal/cmd | ||
| LICENSES | ||
| accuracy.go | ||
| go.mod | ||
| interval.go | ||
| README.md | ||
| REUSE.toml | ||
Math accuracy
Library to test the accuracy of mathematical function written in Go by comparing them to a infinite precised value computed by MPFR. It uses a search algorithm that is described in "Accuracy of Mathematical Functions in Single, Double, Double Extended, and Quadruple Precision".
Usage
See internal/cmd/math-accuracy, a simple CLI program to test the accuracy of Golang's standard math library.
License
This library is licensed under BSD-3-Clause and is REUSE compliant.