计算参数以 2 为底的指数
inline float exp2(
float _X
) restrict(amp);
inline double exp2(
double _X
) restrict(amp);
参数
- _X
浮点值
返回值
返回参数以 2 为底的指数
要求
**头文件:**amp_math.h
**命名空间:**Concurrency::precise_math
计算参数以 2 为底的指数
inline float exp2(
float _X
) restrict(amp);
inline double exp2(
double _X
) restrict(amp);
返回参数以 2 为底的指数
**头文件:**amp_math.h
**命名空间:**Concurrency::precise_math