aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/math/isinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/isinf.c')
-rw-r--r--winsup/cygwin/math/isinf.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/winsup/cygwin/math/isinf.c b/winsup/cygwin/math/isinf.c
new file mode 100644
index 0000000..e7d3e26
--- /dev/null
+++ b/winsup/cygwin/math/isinf.c
@@ -0,0 +1,18 @@
+int
+isinf (double x)
+{
+ return __builtin_isinf (x);
+}
+
+int
+isinff (float x)
+{
+ return __builtin_isinf (x);
+}
+
+int
+isinfl (long double x)
+{
+ return __builtin_isinf (x);
+}
+