Tests the accuracy of mathematical functions written in Go
Find a file
2025-06-14 16:00:48 +02:00
internal/cmd Initial work 2025-06-14 15:43:01 +02:00
LICENSES Initial work 2025-06-14 15:43:01 +02:00
accuracy.go Complete code comments 2025-06-14 16:00:48 +02:00
go.mod Initial work 2025-06-14 15:43:01 +02:00
interval.go Initial work 2025-06-14 15:43:01 +02:00
README.md Initial work 2025-06-14 15:43:01 +02:00
REUSE.toml Initial work 2025-06-14 15:43:01 +02:00

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.