mailing list of musl libc
 help / color / mirror / code / Atom feed
* Comment in ccosh()
@ 2025-07-02  5:17 Damian McGuckin
  2025-07-06 21:31 ` [musl] " Szabolcs Nagy
  0 siblings, 1 reply; 3+ messages in thread
From: Damian McGuckin @ 2025-07-02  5:17 UTC (permalink / raw)
  To: MUSL


There is a comment in ccoshf()

 	 /* x < 88.7: expf(|x|) won't overflow */

where is correct

The equivalent in ccosh() which says:

 	/* x < 710: exp(|x|) won't overflow */

This is far less concise than the earlier case.  More strictly

 	 /* x < 709.78: exp(|x|) won't overflow */

Am I being overly pedantic?

Thanks - Damian


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-07  3:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02  5:17 Comment in ccosh() Damian McGuckin
2025-07-06 21:31 ` [musl] " Szabolcs Nagy
2025-07-07  3:16   ` [musl] Re: spam>Re: " Damian McGuckin

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).