summaryrefslogtreecommitdiff
path: root/tests/10optimizer_bytecode/cmp_powx_pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/10optimizer_bytecode/cmp_powx_pp')
-rw-r--r--tests/10optimizer_bytecode/cmp_powx_pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/10optimizer_bytecode/cmp_powx_pp b/tests/10optimizer_bytecode/cmp_powx_pp
new file mode 100644
index 0000000..b191607
--- /dev/null
+++ b/tests/10optimizer_bytecode/cmp_powx_pp
@@ -0,0 +1,15 @@
+T=d f ld
+V=x
+R=-4,4,1
+F=1*((2.051^x)=4) +\
+ 2*((2.051^x)<4) +\
+ 4*((2.051^x)<=4) +\
+ 8*((2.051^x)>4) +\
+ 16*((2.051^x)>=4) +\
+ 32*((2.051^x)!=4)
+C=1*fp_equal(fp_pow(2.051,x),4) +\
+ 2*fp_less(fp_pow(2.051,x),4) +\
+ 4*fp_lessOrEq(fp_pow(2.051,x),4) +\
+ 8*fp_greater(fp_pow(2.051,x),4) +\
+ 16*fp_greaterOrEq(fp_pow(2.051,x),4) +\
+ 32*fp_nequal(fp_pow(2.051,x),4)