mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Disable the clearing of FPU exceptions on platforms that do not support it
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ void reset_fpu()
|
||||
{
|
||||
#if defined(_MSC_VER)
|
||||
_clearfp(); // For MSVC, clear the floating point error flags
|
||||
#else
|
||||
#elif defined(FE_ALL_EXCEPT)
|
||||
feclearexcept(FE_ALL_EXCEPT);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user