Signature (Visual Basic / VBA)
Public Function ExpRel( _
ByVal vX As Variant _
) As Variant
Code Examples
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.4826318205153
EXPREL(X) = (EXP(X) - 1.0) / X
EXPREL(X) = EXP(X) * EXPREL(ABS(X))
Parameters
| Parameter | Description |
|---|---|
| vX | Function returns Null if vX is Null or cannot be fixed up to a Double precision floating point number. Evaluate For small ABS(X) the Taylor series is used. If X is negative the reflection formula 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. |