blob: 411ae009e95e7a6dc820286e9980205b4154bdf6 [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_abs2.adm";
6
7
8let $c0 := float("-20.1")
9let $c1 := float("-20.56e-30")
10let $c2 := float("NaN")
11let $c3 := float("INF")
12let $c4 := float("-INF")
13let $c5 := float("-0.0")
14let $c6 := float("0.0")
15return {"f0": numeric-abs($c0), "f1": numeric-abs($c1),"f2": numeric-abs($c2),
16 "f3": numeric-abs($c3),"f4": numeric-abs($c4),"f5": numeric-abs($c5), "f6": numeric-abs($c6)}