开发者

C99 fenv.h for MS compilers

开发者 https://www.devze.com 2023-01-11 02:03 出处:网络
Anyone know of a decent C99 fenv.h implementation for MS compilers? I imagine this w开发者_Go百科ouldn\'t be difficult to do; I\'m just looking to save some time.I don\'t know of any implementations

Anyone know of a decent C99 fenv.h implementation for MS compilers?

I imagine this w开发者_Go百科ouldn't be difficult to do; I'm just looking to save some time.


I don't know of any implementations and I doubt any exists. Although Visual Studio has the _controlfp() function and a number of related preprocessor pragma's (float_control(), fenv_access(), fp_contract(), I don't think you can use them to create a conforming fenv.h implementation.

Sad as it is, Visual Studio is not a C99 compiler, and probably never will be.

0

精彩评论

暂无评论...
验证码 换一张
取 消