projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix float.h api test: FLT_ROUNDS is not int const expr
[libc-test]
/
src
/
api
/
float.c
diff --git
a/src/api/float.c
b/src/api/float.c
index
254e50d
..
5a29ecc
100644
(file)
--- a/
src/api/float.c
+++ b/
src/api/float.c
@@
-1,9
+1,10
@@
#include <float.h>
+#define I(n) {int i = n;}
#define C(n) switch(n){case n:;}
#define D(n) {long double d = n;}
static void f()
{
-
C
(FLT_ROUNDS)
+
I
(FLT_ROUNDS)
C(FLT_EVAL_METHOD)
C(FLT_RADIX)
C(FLT_MANT_DIG)