16 Aug
2016
16 Aug
'16
11:11 a.m.
On 16/08/2016 01:59, Rob Conde wrote:
#include
#include typedef boost::multiprecision::int128_t int128_t; typedef boost::multiprecision::cpp_bin_float_quad float128_t;
int main() { int128_t intVal; float128_t floatVal(intVal.convert_to
()); return 0; }
That should work, as should: float128_t f(intVal); However, while both of these do work with msvc, they fail with GCC, so there is a bug (or 2) somewhere. I'll investigate later. John.