Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84219 - in trunk/libs/multiprecision: config performance
From: john_at_[hidden]
Date: 2013-05-10 08:19:14


Author: johnmaddock
Date: 2013-05-10 08:19:14 EDT (Fri, 10 May 2013)
New Revision: 84219
URL: http://svn.boost.org/trac/boost/changeset/84219

Log:
Fix __float128 test case, update messages from LInpack benchmark.
Text files modified:
   trunk/libs/multiprecision/config/has_float128.cpp | 2 +-
   trunk/libs/multiprecision/performance/linpack-benchmark.cpp | 4 ++++
   2 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/libs/multiprecision/config/has_float128.cpp
==============================================================================
--- trunk/libs/multiprecision/config/has_float128.cpp (original)
+++ trunk/libs/multiprecision/config/has_float128.cpp 2013-05-10 08:19:14 EDT (Fri, 10 May 2013)
@@ -9,7 +9,7 @@
 
 int main()
 {
- __float128 f = -2;
+ __float128 f = -2.0Q;
    f = fabsq(f);
 
    return 0;

Modified: trunk/libs/multiprecision/performance/linpack-benchmark.cpp
==============================================================================
--- trunk/libs/multiprecision/performance/linpack-benchmark.cpp (original)
+++ trunk/libs/multiprecision/performance/linpack-benchmark.cpp 2013-05-10 08:19:14 EDT (Fri, 10 May 2013)
@@ -127,6 +127,10 @@
    mpfr_set_default_prec(((50 + 1) * 1000L) / 301L);
 #elif defined(TEST_CPP_DEC_FLOAT)
    std::cout << "Testing number<cpp_dec_float<50> >" << std::endl;
+#elif defined(NATIVE_FLOAT128)
+ std::cout << "Testing __float128" << std::endl;
+#elif defined(TEST_FLOAT128)
+ std::cout << "Testing number<float128_backend, et_off>" << std::endl;
 #else
    std::cout << "Testing double" << std::endl;
 #endif


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