blob: 25232d0a0e899396383369e91018741d42504cc0 [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_round-half-to-even0.adm";
6
7
8let $c0 := int8("-0")
9let $c1 := int16("-0")
10let $c2 := int32("-0")
11let $c3 := int64("-0")
12let $c4 := int8("0")
13let $c5 := int16("0")
14let $c6 := int32("0")
15let $c7 := int64("0")
16return {"f0": numeric-round-half-to-even($c0), "f1": numeric-round-half-to-even($c1),"f2": numeric-round-half-to-even($c2), "f3": numeric-round-half-to-even($c3),
17 "f4": numeric-round-half-to-even($c4),"f5": numeric-round-half-to-even($c5) ,"f6": numeric-round-half-to-even($c6), "f7": numeric-round-half-to-even($c7)}