共用方式為


logb Function

Extracts the exponent of _X, as a signed integer value in floating-point format

inline float logb(
   float _X
) restrict(amp);
inline double logb(
   double _X
) restrict(amp);

Parameters

  • _X
    Floating-point value

Return Value

Returns the signed exponent of _X

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace