mirror of
https://github.com/reactos/reactos.git
synced 2024-08-27 05:38:41 +00:00
18 lines
197 B
C
18 lines
197 B
C
![]() |
|
||
|
#include <math.h>
|
||
|
|
||
|
_Check_return_
|
||
|
float
|
||
|
__cdecl
|
||
|
modff(
|
||
|
_In_ float x,
|
||
|
_Out_ float *y)
|
||
|
{
|
||
|
double _Di, _Df;
|
||
|
|
||
|
_Df = modf((double)x,&_Di);
|
||
|
*y = (float)_Di;
|
||
|
|
||
|
return (float)_Df;
|
||
|
}
|