diff options
Diffstat (limited to 'tests/027-arithmetic/expected.txt')
-rw-r--r-- | tests/027-arithmetic/expected.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/027-arithmetic/expected.txt b/tests/027-arithmetic/expected.txt new file mode 100644 index 0000000..2dadf10 --- /dev/null +++ b/tests/027-arithmetic/expected.txt @@ -0,0 +1,18 @@ +f=1234.5677 --> i=1234 +f=-1234.5677 --> i=-1234 +d=1234.5678 --> i=1234 +d=-1234.5678 --> i=-1234 +d=5.6789567890123E9 --> l=5678956789 +d=-5.6789567890123E9 --> l=-5678956789 +i=7654 --> l=7654 +i=-7654 --> l=-7654 +l=5678956789 --> i=1383989493 +l=-5678956789 --> i=-1383989493 +i=1234 --> f=1234.0 +i=-1234 --> f=-1234.0 +values are 44332211 and bbaa9988 +First l is bbaa998844332211 +Second l is bbaa998844332211 +shiftTest2 l is 1122334455667788 +b=-1, s=-1, c=4095, i=268435455 +b=0xffffffff, s=0xffffffff, c=0xfff, i=0xfffffff |