blob: 9338f10e210db179068518677fa951c2ec1e24be [file] [log] [blame]
use dataverse test;
let $c0 := float("0.555")
let $c1 := float("0.322")
let $c2 := float("NaN")
let $c3 := float("INF")
let $c4 := float("-INF")
let $c5 := float("-0.0")
let $c6 := float("0.0")
return {"d0": numeric-round-half-to-even2($c0,2), "d1": numeric-round-half-to-even2($c1,2),"d2": numeric-round-half-to-even2($c2,3),
"d3": numeric-round-half-to-even2($c3,4),"d4": numeric-round-half-to-even2($c4,5),"d5": numeric-round-half-to-even2($c5,6), "d6": numeric-round-half-to-even2($c6,0)}