math: add special case test vectors
[libc-test] / src / math / special / lgamma_r.h
diff --git a/src/math/special/lgamma_r.h b/src/math/special/lgamma_r.h
new file mode 100644 (file)
index 0000000..9e469a2
--- /dev/null
@@ -0,0 +1,9 @@
+T(RN,                  0x0p+0,                     inf,          0x0p+0,           1, DIVBYZERO)
+T(RN,                 -0x0p+0,                     inf,          0x0p+0,          -1, DIVBYZERO)
+T(RN,                  0x1p+0,                  0x0p+0,          0x0p+0,           1, 0)
+T(RN,                 -0x1p+0,                     inf,          0x0p+0,           1, DIVBYZERO)
+T(RN,                  0x1p+1,                  0x0p+0,          0x0p+0,           1, 0)
+T(RN,                 -0x1p+1,                     inf,          0x0p+0,           1, DIVBYZERO)
+T(RN,                     inf,                     inf,          0x0p+0,           1, 0)
+T(RN,                    -inf,                     inf,          0x0p+0,          -1, 0)
+T(RN,                     nan,                     nan,          0x0p+0,           1, 0)