Re: Issue in man page clog.3

Nikolaos Chatzikonstantinou
2023-11-02T02:38:29Z

It just says that the value is in that interval, so it is not wrong.
There is no canonical way to cut the plane into strips, either the top
is half-open or the bottom.

On Wed, Nov 1, 2023 at 1:08 PM Alejandro Colomar via Libc-help
<libc-help@sourceware.org> wrote:
>
> On Wed, Nov 01, 2023 at 03:25:46PM +0000, Helge Kreutzmann wrote:
> > Hello Alejandro,
> > Am Wed, Nov 01, 2023 at 04:00:16PM +0100 schrieb Alejandro Colomar:
> > > On Wed, Nov 01, 2023 at 02:02:10PM +0000, Helge Kreutzmann wrote:
> > > > Without further ado, the following was found:
> > > >
> > > > Issue: [-pi,pi] means both -pi and pi are included, this does not make sense, either one must be out of the interval?
> > > >
> > > > "The logarithm B<clog>() is the inverse function of the exponential "
> > > > "B<cexp>(3). Thus, if I<y\\ =\\ clog(z)>, then I<z\\ =\\ cexp(y)>. The "
> > > > "imaginary part of I<y> is chosen in the interval [-pi,pi]."
> > >
> > > I don't know this function. Please suggest a fix, and CC glibc so that
> > > they can review the change.
> >
> > From a mathematical point of view either -pi or pi needs to be
> > excluded. I'm not a programmer, so the I cannot tell which is the case
> > here.
> >
> > So you need to contact the person who wrote or who maintains this
> > function / man page.
>
> Hi,
>
> I'm CCing glibc, in case they want to say something.
>
> Cheers,
> Alex
>
> --
> <https://www.alejandro-colomar.es/>