blob: 7cfbbfb6d105680ea01b27033bd087b4e6c18d88 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001drop dataverse test if exists;
2
3create dataverse test;
4
5use dataverse test;
6
7write output to nc1:"rttest/comparison_float.adm";
8
9let $c1 := int8("+1")
10let $c2 := int16("2")
11let $c3 := int32("+3")
12let $c4 := int64("-4")
13let $c5 := float("-5.5f")
14let $c6 := double("-6.5d")
15let $r1 := $c5 > $c1
16let $r2 := $c5 >= $c2
17let $r3 := $c5 < $c3
18let $r4 := $c5 <= $c4
19let $r5 := $c5 = $c5
20let $r6 := $c5 != $c6
21return {"result1": $r1,"result2": $r2,"result3": $r3,"result4": $r4,"result5": $r5, "result6": $r6}