summaryrefslogtreecommitdiff
path: root/src/test/test-math-util.c
Commit message (Collapse)AuthorAgeFilesLines
* test: remove brittle iszero_safe() testDavid Seifert2022-10-291-10/+0
| | | | | | | The test relies on finite -> infinite conversion happening when increasing DBL_MAX. Fixes #25044.
* test: skip one test for iszero_safe() on i386 without SSE2Yu Watanabe2022-10-191-0/+9
| | | | | | | | We do not provide any numerical libraries, and iszero_safe() is only used in parsing or formatting JSON. Hence, it is not necessary for us to request that the function provides the same result on different systems. Fixes #25044.
* math-util: introduce iszero_safe() and fp_equal()Yu Watanabe2022-07-211-0/+111