projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2146d5e
)
math: fix util for fenv without rounding modes
author
nsz
<nsz@port70.net>
Thu, 11 Oct 2012 21:42:21 +0000
(23:42 +0200)
committer
nsz
<nsz@port70.net>
Thu, 11 Oct 2012 21:42:21 +0000
(23:42 +0200)
src/math/util.c
patch
|
blob
|
history
diff --git
a/src/math/util.c
b/src/math/util.c
index
1892173
..
1b2ff78
100644
(file)
--- a/
src/math/util.c
+++ b/
src/math/util.c
@@
-121,9
+121,15
@@
char *rstr(int r)
{
switch (r) {
case RN: return "RN";
+#ifdef FE_TOWARDZERO
case RZ: return "RZ";
+#endif
+#ifdef FE_UPWARD
case RU: return "RU";
+#endif
+#ifdef FE_DOWNWARD
case RD: return "RD";
+#endif
}
return "R?";
}