projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: fix some invalid checks (remquo, lrint, lround, y0, y1, yn)
[libc-test]
/
src
/
math
/
llrintl.c
diff --git
a/src/math/llrintl.c
b/src/math/llrintl.c
index
91d5447
..
0fea06e
100644
(file)
--- a/
src/math/llrintl.c
+++ b/
src/math/llrintl.c
@@
-37,7
+37,7
@@
int main(void)
printf(" got %s\n", estr(e));
err++;
}
- if (yi != p->i) {
+ if (
!(p->e&INVALID) &&
yi != p->i) {
printf("%s:%d: %s llrintl(%La) want %lld got %lld\n",
p->file, p->line, rstr(p->r), p->x, p->i, yi);
err++;