summaryrefslogtreecommitdiff
path: root/src/math/__fpclassify_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/__fpclassify_error.c')
-rw-r--r--src/math/__fpclassify_error.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/math/__fpclassify_error.c b/src/math/__fpclassify_error.c
new file mode 100644
index 00000000..8684e8ae
--- /dev/null
+++ b/src/math/__fpclassify_error.c
@@ -0,0 +1,12 @@
+#include "_safety.h"
+
+int __fpclassify_error(void)
+{
+ UNDEFINED("Argument to fpclassify() macro was not a real floating type");
+ return 0;
+}
+
+/*
+STDC(0)
+SIGNAL_SAFE(0)
+*/