Skip to content
Prev 69254 / 398526 Next

FAQ 7.31

On Fri, 6 May 2005, Robin Hankin wrote:

            
Well, probably 2*.Machine$double.eps since each of two numbers could be 
one bit from the truth.

The registers on ix86 machines have more precision than the representation 
stored in RAM.  So it is possible that out.new has more precision because 
it has been kept in registers and out.old has been retrieved from RAM and 
so has less.  The result may well be continued looping.

I think the scenario in the previous para is quite unlikely (it would need 
a very clever C compiler), but it is theoretically possible and may become 
likely with semi-compiled versions of R.  The C-level equivalent is quite 
common.