[Jprogramming] NaN error in Android port

Paul Jackson plj541 at gmail.com
Sat Mar 24 01:33:45 HKT 2012


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


More information about the Programming mailing list