[cfp-interest 3470] Re: frexp() in Annex F

Damian McGuckin damianm at esi.com.au
Mon May 26 04:17:27 PDT 2025


On Mon, 26 May 2025, Vincent Lefevre wrote:

>> In a desire for consistency, should these say
>>
>> 	returns RESULT and stores THING
>> OR
>> 	stores THING and returns RESULT
>
> "stores THING and returns RESULT" seems more logical, as returning
> a value is always the thing that occurs last.
>
> But I would avoid "stores" as this says what an implementation does
> rather than a status or a property (but the implementation does not
> have to store anything in the ?? case). For instance, I would say:
> "the object pointed to by p contains an unspecified value".

Nice idea Vincent.

Thanks - Damian


More information about the cfp-interest mailing list