Share via


ldexpf 函式 (fast_math)

利用尾數和指數計算出一個實數。

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

參數

  • _X
    浮點值,尾數

  • _Exp
    整數指數

傳回值

傳回 _X * 2^_Exp

需求

標頭: amp_math.h

命名空間: Concurrency::fast_math

請參閱

參考

Concurrency::fast_math 命名空間