| @@ -361,10 +361,6 @@ inline int roundToInt (const FloatType value) noexcept | |||||
| #else | #else | ||||
| return n.asInt [0]; | return n.asInt [0]; | ||||
| #endif | #endif | ||||
| #ifdef __INTEL_COMPILER | |||||
| #pragma float_control (pop) | |||||
| #endif | |||||
| } | } | ||||
| #if JUCE_MSVC | #if JUCE_MSVC | ||||
| @@ -381,6 +377,10 @@ inline int roundToInt (const FloatType value) noexcept | |||||
| */ | */ | ||||
| inline int roundToIntAccurate (const double value) noexcept | inline int roundToIntAccurate (const double value) noexcept | ||||
| { | { | ||||
| #ifdef __INTEL_COMPILER | |||||
| #pragma float_control (pop) | |||||
| #endif | |||||
| return roundToInt (value + 1.5e-8); | return roundToInt (value + 1.5e-8); | ||||
| } | } | ||||