Shouldn't the sin of pi be zero?
1 o. 1p1
1.22461e_16
This isn't a tolerance issue, because 1.22461e_16 isn't even
tolerantly equal to 0 :
0 = 1 o. 1p1
0
But maybe it's a precision issue w.r.t. 1p1 ? But, then, shoudn't
J's internal trigonometric functions recognize J's internal
representation of pi?
-Dan
PS: Similar questions apply for other trigonometric functions, e.g.:
2 o. _0.5p1
6.12303e_17
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm