jeffhao | 5d1ac92 | 2011-09-29 17:41:15 -0700 | [diff] [blame] | 1 | f=1234.5677 --> i=1234 |
| 2 | f=-1234.5677 --> i=-1234 |
| 3 | d=1234.5678 --> i=1234 |
| 4 | d=-1234.5678 --> i=-1234 |
| 5 | d=5.6789567890123E9 --> l=5678956789 |
| 6 | d=-5.6789567890123E9 --> l=-5678956789 |
| 7 | i=7654 --> l=7654 |
| 8 | i=-7654 --> l=-7654 |
| 9 | l=5678956789 --> i=1383989493 |
| 10 | l=-5678956789 --> i=-1383989493 |
| 11 | i=1234 --> f=1234.0 |
| 12 | i=-1234 --> f=-1234.0 |
| 13 | values are 44332211 and bbaa9988 |
| 14 | First l is bbaa998844332211 |
| 15 | Second l is bbaa998844332211 |
| 16 | shiftTest2 l is 1122334455667788 |
| 17 | b=-1, s=-1, c=4095, i=268435455 |
| 18 | b=0xffffffff, s=0xffffffff, c=0xfff, i=0xfffffff |