[cfp-interest 3409] Re: Change to cproj - 7.3.9.5
Damian McGuckin
damianm at esi.com.au
Tue Mar 11 16:12:59 PDT 2025
On Tue, 11 Mar 2025, Jim Thomas wrote:
> Tomorrow CFP will discuss
> ? [cfp-interest 3396] Change to cproj - 7.3.9.5 Damian McGuckin
>
> which proposes changes for 7.3.9.5 (The cproj functions). I?d like us to
> consider appending a sentence to the proposed replacement for paragraph 2:
>
> The cproj functions map z to itself except where z has an
> infinite real or imaginary part (even if the other part is a
> NaN) in which case cproj(z) is equivalent to
>
> CMPLX(INFINITY, copysign(0.0, cimag(z)))
>
>
> Other functions in the proj family are equivalent, in this case, to
> the analogous expression for their type.
I like it. Avoids any need to cross reference any definition for CMPLX()
Thanks - Damian
More information about the cfp-interest
mailing list