commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36232] - [math][patch] Update UnivariateRealSolverImpl.java
Date Wed, 17 Aug 2005 17:56:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36232>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36232





------- Additional Comments From zxg_32@yahoo.com  2005-08-17 19:56 -------
isBracketing() should use condition branching instead of multiplication because

1. saves one unnecessary floating-point multiplication
2. prevent underflow, for example
    double a = 4.5E-180;
    double b = -3.2E-180;
    double c = a * b;
   c would be -0.0, but in fact a and b still satisfy bracketing condition.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message