Share via


expm1f Function

Calculates the base-e exponential of the argument, minus 1

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

Parameters

  • exponent
    The exponential term n of the mathematical expression en, where e is the base of the natural logarithm.

Return Value

Returns the base-e exponential of the argument, minus 1

Remarks

The result of the function call expm1f(n) is the same as the result of the expression expf(n) – 1.0f.

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace