ilovesoup | c9fef1d | 2012-07-08 19:30:42 +0000 | [diff] [blame^] | 1 | drop dataverse test if exists; |
| 2 | create dataverse test; |
| 3 | use dataverse test; |
| 4 | |
| 5 | write output to nc1:"rttest/numeric_round0.adm"; |
| 6 | |
| 7 | |
| 8 | let $c0 := int8("-0") |
| 9 | let $c1 := int16("-0") |
| 10 | let $c2 := int32("-0") |
| 11 | let $c3 := int64("-0") |
| 12 | let $c4 := int8("0") |
| 13 | let $c5 := int16("0") |
| 14 | let $c6 := int32("0") |
| 15 | let $c7 := int64("0") |
| 16 | return {"f0": numeric-round($c0), "f1": numeric-round($c1),"f2": numeric-round($c2), "f3": numeric-round($c3), |
| 17 | "f4": numeric-round($c4),"f5": numeric-round($c5) ,"f6": numeric-round($c6), "f7": numeric-round($c7)} |