> sin(3.141592653589793)
[1] 1.224606e-16

Regards,

Olivier Delaigue



Nguyen Dinh Nguyen wrote:
> 
> Dear all,
> I found something strange when calculating sin of pi value
> sin(pi)
> [1] 1.224606e-16
> 
>  pi
> [1] 3.141593
> 
>  sin(3.141593)
> [1] -3.464102e-07
> 
> Any help and comment should be appreciated. 
> Regards
> Nguyen
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/sin%28pi%29--tf4370556.html#a12457181
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@stat.math.ethz.ch 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