[Cfp-interest] One digit character string

Jim Thomas jaswthomas at sbcglobal.net
Tue Feb 20 15:46:44 PST 2018


Starting the NOTE with

	IEC 60559 specifies that conversion to one-digit …

would be helpful for identifying the source of the specification and the non-C term “roundTiesToEven”.

- Jim Thomas

> On Feb 20, 2018, at 1:56 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> On Tue, 20 Feb 2018 14:32:31 -0600 Rajan Bhakta wrote:
>> 
>>   Fred: Put the words for the roundTiesToEven with a change to Annex F 
>> as a part 1 DR as per his note on 2018/02/18 with the change of "which 
>> could produce" -> "whose nearest neighbors are".
> 
> Add the following to 18661-1 10.2 Conversions to character sequences:
> 
> Add to F.5 Binary-decimal conversion:
> 
> NOTE: Conversion to one-digit character strings using roundTiesToEven
> when both choices are odd shall produce the value with largest
> magnitude.  This can happen with 9.5 whose nearest neighbors are 9.e0
> and 1.e1, both of which are odd.
> 
> 
> ---
> Fred J. Tydeman        Tydeman Consulting
> tydeman at tybor.com      Testing, numerics, programming
> +1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
> Sample C99+FPCE tests: http://www.tybor.com
> Savers sleep well, investors eat well, spenders work forever.
> 
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest




More information about the Cfp-interest mailing list