|
real(kind=wp) function | wp_lnrel (X) |
|
real(kind=ep1) function | ep_lnrel (X) |
| Quad precision version of wp_lnrel. More...
|
|
◆ ep_lnrel()
real(kind=ep1) function special_functions_gbl::cfp_lnrel::ep_lnrel |
( |
real(kind=ep1) |
X | ) |
|
Quad precision version of wp_lnrel.
◆ wp_lnrel()
real(kind=wp) function special_functions_gbl::cfp_lnrel::wp_lnrel |
( |
real(kind=wp) |
X | ) |
|
***PURPOSE Evaluate ln(1+X) accurate in the sense of relative error.
***LIBRARY SLATEC (FNLIB)
***CATEGORY C4B
***TYPE REAL(kind=wp) (ALNREL-S, wp_lnrel-D, CLNREL-C)
***KEYWORDS ELEMENTARY FUNCTIONS, FNLIB, LOGARITHM
***AUTHOR Fullerton, W., (LANL)
***DESCRIPTION
wp_lnrel(X) calculates the REAL(kind=wp) natural logarithm of
(1.0+X) for REAL(kind=wp) argument X. This routine should
be used when X is small and accurate to calculate the logarithm
accurately (in the relative error sense) in the neighborhood
of 1.0.
Series for ALNR on the interval -3.75000E-01_wp to 3.75000E-01_wp
with weighted error 6.35E-32
log weighted error 31.20
significant figures required 30.93
decimal places required 32.01
***REFERENCES (NONE)
***ROUTINES CALLED F1MACH, cfp_csevl, cfp_initds, XERMSG
***REVISION HISTORY (YYMMDD)
770601 DATE WRITTEN
890531 Changed all specific intrinsics to generic. (WRB)
890531 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
900315 CALLs to XERROR changed to CALLs to XERMSG. (THJ)
The documentation for this interface was generated from the following file: