blob: 67ad9dbc6a1566f815be7a20cfdc8df22e9007bd [file] [log] [blame]
ilovesoupc9fef1d2012-07-08 19:30:42 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
5write output to nc1:"rttest/numeric_ceiling3.adm";
6
7
8let $c0 := double("20.1")
9let $c1 := double("-20.56e-30")
10let $c2 := double("NaN")
11let $c3 := double("INF")
12let $c4 := double("-INF")
13let $c5 := double("-0.0")
14let $c6 := double("0.0")
15return {"d0": numeric-ceiling($c0), "d1": numeric-ceiling($c1),"d2": numeric-ceiling($c2),
16 "d3": numeric-ceiling($c3),"d4": numeric-ceiling($c4),"d5": numeric-ceiling($c5), "d6": numeric-ceiling($c6)}