Partager via


ldexp Function

Computes a real number from the specified mantissa and exponent.

inline float ldexp(
   float _X,
   int _Exp
) restrict(amp);
inline double ldexp(
   double _X,
   double _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