Most times, bugs of this nature are merely stupid rather than fun. In this case the problem may be due to a bug in the C function sin() in whatever C library is being used for the Android port.
On Fri, Mar 23, 2012 at 10:33 AM, Paul Jackson <plj...@gmail.com> wrote: > It is fun to see how much I can learn about an implementation without > looking at the code. First, function evaluation runs in descending > sequence. Second, 0 appears to be special cased, although that could be in > system supplied code. > > Paul > > 1 o. 0 9 > |NaN error > | 1 o.0 9 > > 1 o. 9 0 > |NaN error > | 1 o.9 0 > > 1 o. 9 1 > 0.412118 0.841471 > > 1 o. 1 9 > |NaN error > | 1 o.1 9 > > Paul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm