[R] exactly representable numbers
    Marc Halbrügge 
    marc.halbruegge at gmx.de
       
    Mon Sep 11 17:31:22 CEST 2006
    
    
  
> thanks for this.  Wouldn't it be a good idea to have some function
> that returns "the smallest exactly representable number strictly  
> greater than x"?
> 
> Or does this exist already?
I didn't read the whole thread, but yes, this exists. It's in the
standard c library, header "math.h" and called "nextafter"
Shouldn't be too hard to get it into R
Greetings
Marc
    
    
More information about the R-help
mailing list