* Helge Kreutzmann <debian@xxxxxxxxxxxxx>, 2023-11-01 14:02:
Issue: [-pi,pi] means both -pi and pi are included, this does not make sense, either one must be out of the interval?
The man page is consistent with the C standard, which says the return
value is "in the interval [−iπ, +iπ] along the imaginary axis".
I think they mean π rounded to the nearest representable value.
And indeed, the imaginary part of clog(-1 - DBL_EPSILON * I) is -M_PI,
and the imaginary part of clog(-1 + DBL_EPSILON * I) is +M_PI.
--
Jakub Wilk