This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
fn:round(xs:float("-0.50")) fn:round(xs:double("-0.50")) These test should return negative zero (6.4.4 [F&0]), so -0 is a valid answer, but the only expected result is 0.
The correct serialization of negative zero is "0".
>The correct serialization of negative zero is "0". Sorry, I misremembered. That was in XPath 1.0. In 2.0 it is "-0".
A fix has been attempted in CVS, XQTS_current.zip is updated. If the resolution is satisfactory, feel free to change status to CLOSED. Otherwise, reopen this report. If no feedback is returned within two weeks, status will be changed to CLOSED. Thanks for reporting!
Thanks.