fn:format-number and 0 vs -0

Bug #1200494 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Paul J. Lucas

Bug Description

0 div xs:double("-INF")
returns the correct result -0

yet
format-number(0 div xs:double("-INF"), '#')
returns 0

this is why test-case 'cbcl-fn-format-number-003' from "fn-format-number" is failing.

Please note that the mentioned test-case is part of QT snapshot from July 12 part of
https://code.launchpad.net/~zorba-coders/zorba/bump_QT_snapshot/+merge/174341

Tags: fots
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.