math: add special case test vectors
[libc-test] / src / math / special / logbl.h
diff --git a/src/math/special/logbl.h b/src/math/special/logbl.h
new file mode 100644 (file)
index 0000000..691933d
--- /dev/null
@@ -0,0 +1,8 @@
+T(RN,                        0x0p+0L,                           -inf,          0x0p+0, DIVBYZERO)
+T(RN,                       -0x0p+0L,                           -inf,          0x0p+0, DIVBYZERO)
+T(RN,                     -0x1p-100L,                     -0x1.9p+6L,          0x0p+0, 0)
+T(RN,                        0x1p+0L,                        0x0p+0L,          0x0p+0, 0)
+T(RN,                       -0x1p+0L,                        0x0p+0L,          0x0p+0, 0)
+T(RN,                            inf,                            inf,          0x0p+0, 0)
+T(RN,                           -inf,                            inf,          0x0p+0, 0)
+T(RN,                            nan,                            nan,          0x0p+0, 0)