[CRT:MATH] Move some math functions from ucrt to crt

This commit is contained in:
Timo Kreuzer 2025-05-11 12:02:39 +03:00
parent a9ee20cb9a
commit b734e3ba63
8 changed files with 64 additions and 68 deletions

View file

@ -0,0 +1,23 @@
/*
* PROJECT: ReactOS CRT
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: Implementation of _fdtest.
* COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
*/
#include <math.h>
_Check_return_ short __cdecl _fdclass(_In_ float _X);
#if defined(_MSC_VER) && (_MSC_VER >= 1922)
_Check_return_ short __cdecl _fdtest(_In_ float* _Px);
#pragma function(_fdtest)
#endif
_Check_return_
short
__cdecl
_fdtest(_In_ float* _Px)
{
return _fdclass(*_Px);
}