about summary refs log tree commit diff
path: root/math/test-float.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-float.h')
-rw-r--r--math/test-float.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/test-float.h b/math/test-float.h
index a1df187d00..97e98c768a 100644
--- a/math/test-float.h
+++ b/math/test-float.h
@@ -18,6 +18,7 @@
 
 #define FUNC(function) function ## f
 #define FLOAT float
+#define CFLOAT __complex__ float
 #define BUILD_COMPLEX(real, imag) (CMPLXF ((real), (imag)))
 #define PREFIX FLT
 #define TYPE_STR "float"
@@ -26,3 +27,4 @@
 #define LITM(x) x
 #define FTOSTR strfromf
 #define snan_value_MACRO SNANF
+#define TEST_FLOATN 0