summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/math/config/has_intel_quad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/math/config/has_intel_quad.cpp')
-rw-r--r--src/boost/libs/math/config/has_intel_quad.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/boost/libs/math/config/has_intel_quad.cpp b/src/boost/libs/math/config/has_intel_quad.cpp
new file mode 100644
index 00000000..a2db80cc
--- /dev/null
+++ b/src/boost/libs/math/config/has_intel_quad.cpp
@@ -0,0 +1,16 @@
+// Copyright John Maddock 2013.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+extern "C" _Quad __fabs(_Quad);
+
+int main()
+{
+ _Quad f = -2.0Q;
+ f = __fabsq(f);
+
+ return 0;
+}
+
+