BasicFunctionsLogRel(Double, Boolean) Method |
Computes log(1 + x) with relative error accuracy near x = 0.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double LogRel(
double x,
bool bDebug
)
Parameters
- x Double
- The function argument.
- bDebug Boolean
- If true, an exception will be thrown if errors occur; if false, NaN is returned in this case.
Return Value
Doublelog(1 + x) computed with improved relative accuracy for values of
x near 0.
RemarksJune 1977 edition. W. Fullerton, c3, Los Alamos Scientific Lab.
series for alnr on the interval -3.75000e-01 to 3.75000e-01
with weighted error 6.35e-32
log weighted error 31.20
significant figures required 30.93
decimal places required 32.01
See Also