[Boost-bugs] [Boost C++ Libraries] #11189: float128 implementation of fma missing

Subject: [Boost-bugs] [Boost C++ Libraries] #11189: float128 implementation of fma missing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-14 15:14:02


#11189: float128 implementation of fma missing
--------------------------------+----------------------------
 Reporter: charles@… | Owner: johnmaddock
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multiprecision
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: float128 cmath fma |
--------------------------------+----------------------------
 Compiling the following code (g++ 4.8.3 with -fext-numeric-literals)
 gives

 fmatest.cpp:9:16: error: ‘fma’ is not a member of ‘boost::math’

 {{{
 #include <iostream>
 #include <boost/cstdfloat.hpp>
 #include <boost/multiprecision/float128.hpp>
 #include <boost/math/special_functions.hpp>

 int main () {
   typedef boost::multiprecision::float128 real;
   real a = 10, b = 1/a, c = -1;
   std::cout << boost::math::fma(a, b, c) << " " << a * b + c << "\n";
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11189>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC