#761: Integer 2 multiplication by self seems wrong
----------------------------------+-----------------------------------------
Reporter: ustc.li...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: multiply 2
----------------------------------+-----------------------------------------
Changes (by lsansone...@…):
* milestone: MacRuby 0.6 =>
Comment:
Reduction:
{{{$ ./miniruby -e "p 36028797018963968 * 17179869184"
0
$ ruby -e "p 36028797018963968 * 17179869184"
618970019642690137449562112
}}}
This sounds like a bug in the bignum promotion code path.
--
Ticket URL: <http://www.macruby.org/trac/ticket/761#comment:1>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel