Skip to content
Prev 65545 / 398506 Next

a==0 vs as.integer(a)==0 vs all.equal(a,0)

On Tue, 8 Mar 2005, Duncan Murdoch wrote:

            
It is supposed to do so up to (but not including)
.Machine$double.base ^ .Machine$double.digits,
normally 2^53, irrespective of sign.  (These are computed at run-time, 
so one can be pretty confident about them, at least if your FPU is 
bug-free.)
Yes (see the NEWS for R-devel), but only for large integers where the 
second is NA.