Export (0) Print
Expand All
Expand Minimize

fmodf Function

Computes the remainder of the first specified argument divided by the second specified argument.

inline float fmodf(
   float _X,
   float _Y
) restrict(amp);


The first floating-point argument.


The second floating-point argument.

The remainder of _X divided by _Y; that is, the value of _X - _Yn, where n is a whole integer such that the magnitude of _X - _Yn is less than the magnitude of _Y.

This function is identical to the function overload fmod(float, float). It’s provided for source-level compatibility with source code that uses the C Standard Library function fmodf.

Header: amp_math.h

Namespace: Concurrency::precise_math

© 2014 Microsoft