共用方式為


fpclassify Function

Classifies the argument value as NaN, infinite, normal, subnormal, zero

inline int fpclassify(
   float _X
) restrict(amp);
inline int fpclassify(
   double _X
) restrict(amp);

Parameters

  • _X
    Floating-point value

Return Value

Returns the value of the number classification macro appropriate to the value of the argument.

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace