[CRT] Fix amd64 floating point control functions

This commit is contained in:
Timo Kreuzer 2022-07-13 20:27:42 +02:00
parent 39f11249ff
commit 76086220fa
10 changed files with 243 additions and 32 deletions

View file

@ -0,0 +1,13 @@
/*
* PROJECT: ReactOS CRT
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: x64 implementation of _controlfp
* COPYRIGHT: Copyright 2022 Timo Kreuzer <timo.kreuzer@reactos.org>
*/
#include <float.h>
unsigned int __cdecl _controlfp(unsigned int newval, unsigned int mask)
{
return _control87(newval, mask & ~_EM_DENORMAL);
}