blob: 9d36528fb9ec6bceabb7fbb699dc314ac71e8f28 [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_abs1.adm";
6
7
8let $c0 := int8("-20")
9let $c1 := int16("-23")
10let $c2 := int32("-29")
11let $c3 := int64("-21")
12let $c4 := int8("20")
13let $c5 := int16("22")
14let $c6 := int32("23")
15let $c7 := int64("27")
16return {"f0": numeric-abs($c0), "f1": numeric-abs($c1),"f2": numeric-abs($c2), "f3": numeric-abs($c3),
17 "f4": numeric-abs($c4),"f5": numeric-abs($c5) ,"f6": numeric-abs($c6), "f7": numeric-abs($c7)}