共用方式為


ldexpf Function

Computes a real number from the specified mantissa and exponent.

inline float ldexpf(
   float _X,
   int _Exp
) restrict(amp);

Parameters

  • _X
    Floating-point value, mantissa

  • _Exp
    Integer value, exponent

Return Value

Returns _X * 2^_Exp

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace