mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:25:43 +00:00
[CRT:MATH] Move some math functions from ucrt to crt
This commit is contained in:
parent
a9ee20cb9a
commit
b734e3ba63
8 changed files with 64 additions and 68 deletions
23
sdk/lib/crt/math/_fdtest.c
Normal file
23
sdk/lib/crt/math/_fdtest.c
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue