[Contents] [Previous Section] [Next Section] [Index]


exp-Exponential

Interface

F_TYPE exp (F_TYPE x)

F_TYPE expm1 (F_TYPE x)

Description

exp() computes the value of the exponential function, defined as e**x, where e is the constant used as a base for natural logarithms.

expm1() computes exp(x)-1 accurately, even for tiny x.

Exceptions


Exceptional Argument       Routine Behavior

x > ln(max_float)          Overflow

x < ln(min_float)          Underflow

See Also

Appendix A, Critical Floating-Point Values


[Contents] [Previous Section] [Next Section] [Index]