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=24111>. 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=24111 floor, ceiling and round handle -0 results incorrectly ------- Additional Comments From [EMAIL PROTECTED] 2003-10-24 20:24 ------- In xsltc, function round() call is inlined using Math.round(), according to JavaDoc, http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#round (double): java.lang.Math.round(double a), returns the closest long to the argument. The result is rounded to an integer by adding 1/2, taking the floor of the result, and casting the result to type long. In other words, the result is equal to the value of the expression: (long)Math.floor(a + 0.5d) Therefore, the round(-0) returns 0.
