|
|
◆ clog1p_sub()
| void clog1p_sub |
( |
doublecomplex |
z, |
|
|
doublecomplex * |
log1pz |
|
) |
| |
Evaluate ln(1+z) accurate in the sense of relative error
- Purpose
- clog1p_sub evaluates ln(1 + z) accurately in the sense of relative error when z is very small.
clog1p_sub is the subroutine version of clog1p.
- Parameters
-
| [in] | z | Complex argument z. (z != -1) |
| [out] | log1pz | ln(1 + z). |
- Error handling
- If z = -1, domain error (EDOM) occurs.
- If z is too near -1, range error (EDOM) occurs but calculation is continued (precision warning).
- Other range error (ERANGE) may occur.
|