I have some trouble to deal the value of 'NaN'.  For example, 

> exp(1e3)
[1] Inf
> exp(1e3)*0
[1] NaN

The correct answer should be 0 rather than NaN.  I will very appreciate
if anyone can share some technique to get a correct answer.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to