[Cfp-interest 3157] Re: When errors "may occur"

Damian McGuckin damianm at esi.com.au
Sun Jul 28 16:38:27 PDT 2024


On Sun, 28 Jul 2024, Jerome Coonen wrote:

> Two details that struck me are:

> (1) llogb() differs from logb() in not having the optional domain or range
> error when the result is out of range. 

Eagle eyes. Yes. It needs to be amended.

> (2) The usage, "a domain error may occur for infinite arguments," in fadd()
> and fsub(), with a similar phrase for fma(), is not great. A phrase like,
> "if any argument is infinite," is more specific and works for all three
> functions.

The fact that it works for all three has won me over.

- Damian


More information about the Cfp-interest mailing list