mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Remove testonly
keyword
This commit is contained in:
parent
9be364d40a
commit
d721ff8938
31 changed files with 78 additions and 94 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
#define EPSILON 0.00000001L
|
||||
|
||||
testonly bool testlib_almostequallongdouble(long double x, long double y) {
|
||||
bool testlib_almostequallongdouble(long double x, long double y) {
|
||||
/* TODO(jart): This algorithm has to be binary. */
|
||||
if (isnan(x) || isnan(y)) return false;
|
||||
return fabsl(x - y) <= EPSILON;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue