Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

modf Function

Splits the specified argument into fractional and integer parts.

inline float modf(
   float _X,
   _Out_ float * _Iptr
) restrict(amp);
inline double modf(
   double _X,
   _Out_ double * _Iptr
) restrict(amp);
_X

Floating-point value

_Iptr (out parameter)

The integer portion of _X, as a floating-point value.

The signed fractional portion of _X.

Header: amp_math.h

Namespace: Concurrency::precise_math

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.