Boost logo

Boost Users :

Subject: Re: [Boost-users] Visual Studio C++ and Boost Multiprecision float128
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-03-06 13:40:59


On 06/03/2016 14:51, Michel Lamoureux wrote:
>
> Hi,
>
> I use « Visual Studio Express 2013 for Desktop » to do my C++
> programming.
>
> When I come tu use Boost Multiprecision header « float128.hpp », I
> get the following message :
>
> Fatal error C1189 : #error : « Sorry compiler is neither GCC, not
> Intel, don’t know how to configure this header. »
>
> However, when I use Boost Multiprecision header
> « cpp_dec_float », it works well but much slowly.
>
> I guess « float128.hpp » is faster : Am I right?
>
> Is it possible to fix « float128.hpp » to suit C++ from Visual Studio?
>

No sorry: that header is a thin wrapper around the native type
__float128 which msvc does not provide. On windows, you're limited to
either GCC/Mingw or else Intel C++.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net