Email List: Xaustin-group-lX
[All Lists]

Re: tgamma and CX

To: austin-group-l@xxxxxxxxxxxxx
Subject: Re: tgamma and CX
From: David-Sarah Hopwood <david.hopwood@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 05 Sep 2008 02:26:17 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding:from:sender; bh=XHBCe2djO4PMc3/JX9aJh1xcv0bkcs1/phcrSD75phg=; b=junTqKpcKQ9xy23f8jHq8Dp8kVMFuZdbY77bPxmYiTd1XyMvkdzKJAfeMcuV7hwrVq X2TWoC/jg0rc9kfgkUwMTLn7CxsMahGDOS2Jir5BxSHl1eBD8WV1v2XvKlmpBlh14IGM ods4VVFn+Nb6cBDTKsfaUXl6oK6GLIH8y7bHQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding:from:sender; b=rmreoSAVZlrkimuWAitbNglBPMZd8MoOjisDfEiSAhcLZlcmlkC2K37NKX6qtimvJ0 P8C+Pdvp5qosNEQvN0PkyjMfJl49kgZ1lIvxcokG1RHsBUWsftjScY/srDy6E5xIPgSo kl1vMhCI2yF+O/QOg1hRPjRUrstyzsNB59rvc=
References: <20080827112322.GB23831@xxxxxx> <200808271412.m7RECmQ08202@xxxxxx> <20080827153948.GA29745@xxxxxx>
Geoff Clare wrote:
  If the correct value would cause underflow, [CX]and is not
  representable[/CX], a range error may occur, and [CX MX] either 0.0
  (if supported), or [/CX MX] an implementation-defined value shall be
  returned.
I don't understand the intent of "either 0.0 (if supported), or
an implementation-defined value". Is it that:

a) an implementation can document some value other than 0.0, but
   return 0.0 anyway?
b) it just means "an implementation-defined value", but that 0.0
   is the preferred value?
c) 0.0 shall be returned if __STDC_IEC_559__ is defined; otherwise
   the return value is implementation-defined.

If a), why is that desirable?
If b), why not put the statement that 0.0 is preferred in a footnote?
If c), using "or" here is a very unclear way of stating the intent.

--
David-Sarah Hopwood

<Prev in Thread] Current Thread [Next in Thread>