add ere backref regression test
[libc-test] / src / math / fpclassify.c
index 8a43cd6..bc77d8c 100644 (file)
@@ -51,10 +51,17 @@ static struct {
        T(-0.0/0.0, FP_NAN)
        T(1/0.0, FP_INFINITE)
        T(-1/0.0, FP_INFINITE)
+#if LDBL_MAX_EXP==16384
        T(0x1.ffffp16383L, FP_NORMAL)
        T(-0x1.ffffp16383L, FP_NORMAL)
        T(0x1p-16383L, FP_SUBNORMAL)
        T(-0x1p-16383L, FP_SUBNORMAL)
+#elif LDBL_MAX_EXP==1024
+       T(0x1.ffffp1023L, FP_NORMAL)
+       T(-0x1.ffffp1023L, FP_NORMAL)
+       T(0x1p-1023L, FP_SUBNORMAL)
+       T(-0x1p-1023L, FP_SUBNORMAL)
+#endif
        T(0.0, FP_ZERO)
        T(-0.0, FP_ZERO)
        T(3.14, FP_NORMAL)