summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/math/isnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/isnan.c')
-rw-r--r--winsup/cygwin/math/isnan.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/winsup/cygwin/math/isnan.c b/winsup/cygwin/math/isnan.c
new file mode 100644
index 000000000..ac68bef6d
--- /dev/null
+++ b/winsup/cygwin/math/isnan.c
@@ -0,0 +1,18 @@
+int
+isnan (double x)
+{
+ return __builtin_isnan (x);
+}
+
+int
+isnanf (float x)
+{
+ return __builtin_isnan (x);
+}
+
+int
+isnanl (long double x)
+{
+ return __builtin_isnan (x);
+}
+