frexp 函数

获取 _X 的尾数和指数

inline float frexp(
   float _X,
   _Out_ int * _Exp
) restrict(amp);
inline double frexp(
   double _X,
   _Out_ int * _Exp
) restrict(amp);

参数

  • _X
    浮点值

  • _Exp
    以浮点值返回_X的整数指数。

返回值

返回尾数_X

要求

**头文件:**amp_math.h

**命名空间:**Concurrency::precise_math

请参见

参考

Concurrency::precise_math 命名空间