RE: [S] Unusual result -- A glitch, I'd say

Paul A Tukey (paul@bellcore.com)
Wed, 25 Mar 1998 10:15:10 -0500 (EST)


Here's a generalization that suggests there may
actually be a glitch in Splus:

> a_0
> print( (a_a+10000) + (a_a+1000) + (a_a+100) + (a_a+10) + (a_a+1) )
[1] 55321
> a
[1] 11111

> a_0
> print( (a_a+1) + (a_a+10) + (a_a+100) + (a_a+1000) + (a_a+10000) )
[1] 12355
> a
[1] 11111

Trying different numbers of terms consistently gives the impression
that the second term from the left is being treated differently
from the others.

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news