reactos/sdk/lib/crt/math/modff.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;
}