|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83749 - trunk/libs/multiprecision/config
From: john_at_[hidden]
Date: 2013-04-03 14:01:26
Author: johnmaddock
Date: 2013-04-03 14:01:25 EDT (Wed, 03 Apr 2013)
New Revision: 83749
URL: http://svn.boost.org/trac/boost/changeset/83749
Log:
Add missing file.
Added:
trunk/libs/multiprecision/config/has_float128.cpp (contents, props changed)
Added: trunk/libs/multiprecision/config/has_float128.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/multiprecision/config/has_float128.cpp 2013-04-03 14:01:25 EDT (Wed, 03 Apr 2013)
@@ -0,0 +1,17 @@
+// 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" {
+#include <quadmath.h>
+}
+
+int main()
+{
+ __float128 f = -2;
+ f = fabsq(f);
+
+ return 0;
+}
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk