# New Ticket Created by Reini Urban # Please include the string: [perl #112742] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112742 >
rakudo-2012.04 cygwin on 32-bit winxp newlib is different, I suppose openbsd also See http://nopaste.snit.ch/137433 rakudo-2012.04 PERL6LIB=lib ./perl6 t/spec/S03-operators/overflow.rakudo 1..98 ok 1 - var incremented after post-autoincrement ok 2 - during post-autoincrement return value is not yet incremented ok 3 - var incremented after pre-autoincrement ok 4 - during pre-autoincrement return value is incremented ok 5 - simple assignment: $a = $a+1 ok 6 - var decremented after post-autodecrement ok 7 - during post-autodecrement return value is not yet decremented ok 8 - var decremented after pre-autodecrement ok 9 - during pre-autodecrement return value is decremented ok 10 - simple assignment: $a = $a-1 ok 11 - post-decrement negative value ok 12 - pre-decrement negative value ok 13 - assign $a = -$a; $a = $a-1 ok 14 - compare -- to -1 op with same origin var ok 15 - make sure origin var remains unchanged ok 16 - same thing with predecremenet ok 17 - est oder of predecrement in -(++$a) ok 18 - 0x80000000 div 1 == 0x80000000 ok 19 - 0x80000000 div -1 == -0x80000000 ok 20 - -0x80000000 div 1 == -0x80000000 ok 21 - -0x80000000 div -1 == 0x80000000 ok 22 - ok 23 - Bignums are not working yet ok 24 - Bignums are not working yet ok 25 - $bignum1 div $bignum2 ok 26 - ok 27 - ok 28 - ok 29 - ok 30 - ok 31 - ok 32 - ok 33 - ok 34 - ok 35 - ok 36 - ok 37 - ok 38 - ok 39 - ok 40 - ok 41 - ok 42 - ok 43 - 2147483648 == 2147483648 ok 44 - -2147483648 == -2147483648 ok 45 - -2000000000 == -2000000000 ok 46 - 7**(-1) works ok 47 - ok 48 - 21307064320 == 21307064320 ok 49 - 2147483647 == 2147483647 ok 50 - 2147483650 == 2147483650 ok 51 - 4294967291 == 4294967291 ok 52 - -2147483647 == -2147483647 ok 53 - 2147483648 == 2147483648 ok 54 - 4294967295 == 4294967295 ok 55 - 4294967297 == 4294967297 ok 56 - -2147483649 == -2147483649 ok 57 - -2 == -2 not ok 58 - # got: '-131071' # expected: '4294836225' not ok 59 - # got: '131071' # expected: '-4294836225' not ok 60 - # got: '131071' # expected: '-4294836225' not ok 61 - # got: '-131071' # expected: '4294836225' not ok 62 - # got: '-1' # expected: '4294967295' not ok 63 - # got: '1' # expected: '-4294967295' not ok 64 - # got: '1' # expected: '-4294967295' not ok 65 - # got: '-1' # expected: '4294967295' not ok 66 - # got: '-1' # expected: '4294967295' not ok 67 - # got: '1' # expected: '-4294967295' not ok 68 - # got: '1' # expected: '-4294967295' not ok 69 - # got: '-1' # expected: '4294967295' not ok 70 - # got: '131073' # expected: '4295098369' not ok 71 - # got: '-131073' # expected: '-4295098369' not ok 72 - # got: '-131073' # expected: '-4295098369' not ok 73 - # got: '131073' # expected: '4295098369' not ok 74 - # got: '-2147479016' # expected: '2147488280' not ok 75 - # got: '2147479016' # expected: '-2147488280' not ok 76 - # got: '2147479016' # expected: '-2147488280' not ok 77 - # got: '-2147479016' # expected: '2147488280' not ok 78 - # got: '-2147479016' # expected: '2147488280' not ok 79 - # got: '2147479016' # expected: '-2147488280' not ok 80 - # got: '2147479016' # expected: '-2147488280' not ok 81 - # got: '-2147479016' # expected: '2147488280' not ok 82 - # got: '-2147483648' # expected: '2147483648' ok 83 - ok 84 - not ok 85 - # got: '-2147483648' # expected: '2147483648' not ok 86 - # got: '-2147483648' # expected: '2147483648' ok 87 - ok 88 - not ok 89 - # got: '-2147483648' # expected: '2147483648' ok 90 - got the correct int value from hex FFACD5FE ok 91 - got the correct int value from hex AAA4872D ok 92 - got the correct int value from hex DEAD_BEEF ok 93 - got the correct int value from oct 3777777777 ok 94 - radix 16 notation works not ok 95 - fractional base 16 works# TODO RT #105116 # got: '' # expected: '3735928559.97971' ok 96 - binary number to power of 10 ok 97 - Power of ten in <> works ok 98 - can construct Rat (or similar) with big denominator # FUDGED! # Looks like you failed 28 tests of 98 -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/