[R] Help for numbers close to 1 in R

cjmr cjregunay at gmail.com
Sat Feb 13 15:17:09 CET 2010


Hi all.

I have a problem with adding 1 and very small numbers

ex:
>p=1e-49
>1+p
[1] 1

My problem comes from some values of x for the value:
    1-exp(-sum((x-1/sqrt(3))^2))
the return values are always equivalent.

Please help
Thanks
-- 
View this message in context: http://n4.nabble.com/Help-for-numbers-close-to-1-in-R-tp1554416p1554416.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list