次の方法で共有


fdimf Function

 

Computes the positive difference between the arguments.

Syntax

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

Concurrency::precise_math Namespace