diff --git a/Sources/Engine/Math/Float.cpp b/Sources/Engine/Math/Float.cpp index 980eb8a..1466160 100644 --- a/Sources/Engine/Math/Float.cpp +++ b/Sources/Engine/Math/Float.cpp @@ -34,6 +34,14 @@ inline ULONG _control87(WORD newcw, WORD mask) fpw |= (newcw & mask); } return(fpw); +#elif defined(__arm__) + static WORD fpw=_PC_64; + if (mask != 0) + { + fpw &= ~mask; + fpw |= (newcw & mask); + } + return(fpw); #else WORD fpw = 0;