[Cfp-interest 2838] Re: CFP review of TS-4 and TS-5 revisions

Damian McGuckin damianm at esi.com.au
Tue Aug 22 21:23:36 PDT 2023


Section 6.5:

On Wed, 23 Aug 2023, Damian McGuckin wrote:

> # Lines 33-42 - The Description
>
> 	The text goes
>
> 		 If ...
> 		 If ...
> 		 If ...
> 		 Otherwise ...
> 		 Otherwise ...
> 		 Otherwise ...
> 		 If ...

Does the following read any better?

If the length n = 0, the functions return the value +1 and store 0
in the object pointed to by sfptr.

If any member of array p is a NaN, the functions return a quiet NaN.

If any two members of array p are a zero and an infinity, the functions
return a quiet NaN and raise the invalid floating-point exception and a
domain error occurs.

if any member of array p is an infinity and none are zero, the functions
return an infinity.

If any member of array p is a zero and none are infinity, the functions
return a zero.

If the scale factor is outside the range of the long long int type, the
functions return a quiet NaN and raise the invalid floating-point exception.

If a zero, infinity, or NaN is returned, the functions store 0 in the object
pointed to by sfptr.

If so, I then need to do it for both  6.6 and 6.7.

Also, do I need to create the example?

Thanks - Damian

Pacific Engineering Systems International ..... 20D Grose St, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer


More information about the Cfp-interest mailing list