fdimf Function

Computes the positive difference between the arguments.

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

Parameters

  • _X
    Floating-point value

  • _Y
    Floating-point value

Return Value

The difference between _X and _Y if _X is greater than _Y; otherwise, +0.

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace