Re: Issue in man page clog.3

Helge Kreutzmann
2023-11-01T16:24:14Z

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

Hello Jakub,
Am Wed, Nov 01, 2023 at 05:15:00PM +0100 schrieb Jakub Wilk:
> * Helge Kreutzmann <debian@helgefjell.de>, 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.

Then disregard this report, thanks for checking.

Greetings

Helge
--
Dr. Helge Kreutzmann debian@helgefjell.de
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/