Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

fdim Function

 

Computes the positive difference between the arguments.

inline float fdim(
   float _X,
   float _Y
) restrict(amp);
inline double fdim(
   double _X,
   double _Y
) restrict(amp);

_X

Floating-point value

_Y

Floating-point value

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

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

Show: