| drop dataverse test if exists; |
| create dataverse test; |
| use dataverse test; |
| |
| write output to nc1:"rttest/numeric_round-half-to-even21.adm"; |
| |
| |
| let $c0 := int8("-20") |
| let $c1 := int16("-23") |
| let $c2 := int32("-29") |
| let $c3 := int64("-21") |
| let $c4 := int8("20") |
| let $c5 := int16("22") |
| let $c6 := int32("23") |
| let $c7 := int64("27") |
| return {"f0": numeric-round-half-to-even2($c0,2), "f1": numeric-round-half-to-even2($c1,2),"f2": numeric-round-half-to-even2($c2,2), "f3": numeric-round-half-to-even2($c3,2), |
| "f4": numeric-round-half-to-even2($c4,2),"f5": numeric-round-half-to-even2($c5,2) ,"f6": numeric-round-half-to-even2($c6,2), "f7": numeric-round-half-to-even2($c7,2)} |