projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: add fenv pragma, relax the error check, simplify util.h
[libc-test]
/
src
/
math
/
util.c
diff --git
a/src/math/util.c
b/src/math/util.c
index
3875695
..
1892173
100644
(file)
--- a/
src/math/util.c
+++ b/
src/math/util.c
@@
-127,15
+127,3
@@
char *rstr(int r)
}
return "R?";
}
-
-void setupfenv(int r)
-{
- fesetround(r);
- feclearexcept(FE_ALL_EXCEPT);
-}
-
-int getexcept(void)
-{
- return fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW);
-}
-