projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: fix cr check, stricter except check
[libc-test]
/
src
/
math
/
logb.c
diff --git
a/src/math/logb.c
b/src/math/logb.c
index
c9b90bc
..
b0ec283
100644
(file)
--- a/
src/math/logb.c
+++ b/
src/math/logb.c
@@
-33,7
+33,7
@@
int main(void)
err++;
}
d = ulperr(y, p->y, p->dy);
- if (!check
ulp(d
, p->r)) {
+ if (!check
cr(y, p->y
, p->r)) {
printf("%s:%d: %s logb(%a) want %a got %a ulperr %.3f = %a + %a\n",
p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy);
err++;