projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: do correctly rounded checks where it's appropriate
[libc-test]
/
src
/
math
/
fabsl.c
diff --git
a/src/math/fabsl.c
b/src/math/fabsl.c
index
df170ea
..
ac65003
100644
(file)
--- a/
src/math/fabsl.c
+++ b/
src/math/fabsl.c
@@
-38,7
+38,7
@@
int main(void)
err++;
}
d = ulperrl(y, p->y, p->dy);
- if (!check
ulp(d
, p->r)) {
+ if (!check
cr(y, p->y
, p->r)) {
printf("%s:%d: %s fabsl(%La) want %La got %La ulperr %.3f = %a + %a\n",
p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy);
err++;