You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/15 17:37:00 UTC

DO NOT REPLY [Bug 3384] - a div 1 not equal a ?!?

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3384>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3384

a div 1 not equal a ?!?

keshlam@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From keshlam@us.ibm.com  2001-10-15 08:36 -------
Problem seems to have been floating-point roundoff in XStringForFSB.toDouble(), 
rather than anything in the division. I've replaced that logic, and it seems to 
be significantly better. I'm not 110% sure results will always be a perfect 
match to the IEEE floating point standard we're supposed to be following -- 
floating point roundoff is always nasty -- but short of trying to assemble the 
bits ourselves it should be as close to perfect as we're going to get.

see the comments when I check it in for some open issues.