expm1f 函数

计算参数的以 e 为底的指数,减去 1

inline float expm1f(
   float exponent
) restrict(amp);

参数

  • exponent
    算术表达式 en(其中,e 是自然对数的底)的指数项 n。

返回值

返回参数的以 e 为底的指数,减去 1

备注

函数调用 expm1f(n) 的结果与表达式 expf(n) – 1.0f 的结果相同。

要求

**头文件:**amp_math.h

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

请参见

参考

Concurrency::precise_math 命名空间