Compartilhar via


ldexp Function (fast_math)

Computes a real number from the mantissa and exponent

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

Parameters

  • _X
    Floating-point value, mentissa

  • _Exp
    Integer exponent

Return Value

Returns _X * 2^_Exp

Requirements

Header: amp_math.h

Namespace: Concurrency::fast_math

See Also

Reference

Concurrency::fast_math Namespace