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