Tests the accuracy of mathematical functions written in Go
| internal/cmd | Initial work | |
| LICENSES | Initial work | |
| accuracy.go | Complete code comments | |
| go.mod | Initial work | |
| interval.go | Initial work | |
| README.md | Initial work | |
| REUSE.toml | Initial work | |
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.