Opened 8 years ago
Closed 6 years ago
#11189 closed Feature Requests (fixed)
float128 implementation of fma missing
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | Boost 1.63.0 | Component: | multiprecision |
| Version: | Boost 1.57.0 | Severity: | Problem |
| Keywords: | float128 cmath fma | Cc: | charles@… |
Description
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";
}
Change History (1)
comment:1 by , 6 years ago
| Milestone: | To Be Determined → Boost 1.63.0 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in develop.