public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Jakub Wilk <jwilk@jwilk.net>
Cc: "Helge Kreutzmann" <debian@helgefjell.de>,
	"Alejandro Colomar" <alx.manpages@gmail.com>,
	"Mario Blättermann" <mario.blaettermann@gmail.com>,
	linux-man@vger.kernel.org
Subject: Re: Issue in man page clog.3
Date: Wed, 1 Nov 2023 18:08:55 +0100	[thread overview]
Message-ID: <ZUKGJ7RCTTWYJyN6@debian> (raw)
In-Reply-To: <20231101161500.ko2nejsen2o3i4pj@jwilk.net>

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

On Wed, Nov 01, 2023 at 05:15:00PM +0100, Jakub Wilk wrote:
> * 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.

Ahh, thanks a lot, Jakub!

> 
> -- 
> Jakub Wilk

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2023-11-01 17:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01 14:02 Issue in man page clog.3 Helge Kreutzmann
2023-11-01 15:00 ` Alejandro Colomar
2023-11-01 15:25   ` Helge Kreutzmann
2023-11-01 16:56     ` G. Branden Robinson
2023-11-01 20:54       ` Alejandro Colomar
2023-11-01 17:08     ` Alejandro Colomar
2023-11-02  2:38       ` Nikolaos Chatzikonstantinou
2023-11-01 16:15 ` Jakub Wilk
2023-11-01 16:24   ` Helge Kreutzmann
2023-11-01 17:08   ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZUKGJ7RCTTWYJyN6@debian \
    --to=alx@kernel.org \
    --cc=alx.manpages@gmail.com \
    --cc=debian@helgefjell.de \
    --cc=jwilk@jwilk.net \
    --cc=linux-man@vger.kernel.org \
    --cc=mario.blaettermann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox