[R] sin(pi)?
Olivier Delaigue *
olivier.delaigue at aix.cemagref.fr
Mon Sep 3 08:52:44 CEST 2007
> 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.
More information about the R-help
mailing list