Public Function ExpRel( _ ByVal vX As Variant _ ) As Variant
ExpRel(-5.0) = 0.198652410600183 ExpRel(-1.0) = 0.632120558828558 ExpRel(-0.5) = 0.786938680574733 ExpRel(+0.0) = 1 ExpRel(+0.5) = 1.29744254140026 ExpRel(+1.0) = 1.71828182845905 ExpRel(+5.0) = 29.4826318205153See also:
LnRel Function DEXPRL FunctionvX: Function returns Null if vX is Null or cannot be fixed up to a Double precision floating point number.
Evaluate
EXPREL(X) = (EXP(X) - 1.0) / XFor small ABS(X) the Taylor series is used. If X is negative the reflection formula
EXPREL(X) = EXP(X) * EXPREL(ABS(X))may be used. This reflection formula will be of use when the evaluation for small ABS(X) is done by Chebyshev series rather than Taylor series.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.