Tom Tromey wrote:
> 
> >>>>> "Eric" == Eric Blake <[EMAIL PROTECTED]> writes:
> 
> Eric>   * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
> 
> I don't think anything was wrong with the old logic in equals().
> 

Yes, you are right that there were no logic errors in the old version of
equals().  But the version I committed avoids 2 calls to a native
method, and accesses the field "value" directly rather than calling
"doubleValue()".

-- 
This signature intentionally left boring.

Eric Blake             [EMAIL PROTECTED]
  BYU student, free software programmer

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to