Actions
Bug #2923
closedIncorrect comparison for xs:numeric and NaN
Start date:
2016-09-05
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
Comparer.NaNable()
is returning numeric ordering results (0|-1|+1) when comparing xs:numerics one or more of which is NaN. According to the spec the result of such comparisons should always be false, no matter what the comparison operator. Will need some trapping at a higher level in Expr.vc
or Expr.gc
Illustrated by (xs:double("NaN") lt 1)
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page