Partager via


fmax Function

Determine the maximum numeric value of the arguments

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

Parameters

  • _X
    Floating-point value

  • _Y
    Floating-point value

Return Value

Return the maximum numeric value of the arguments

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace