[MacRuby-devel] [MacRuby] #159: "%d" with large integer argument gives conversion error
MacRuby
ruby-noreply at macosforge.org
Fri Dec 11 18:26:30 PST 2009
#159: "%d" with large integer argument gives conversion error
---------------------------------+------------------------------------------
Reporter: jamis@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Comment(by emoy@…):
Part 4 of 3 (oops)
I suppose I should show that the original problem is really fix:
{{{
% ./miniruby -e "p '%d' % (42**12)"
"30129469486639681536"
% ./miniruby -e "p '%#x' % (42**12)"
"0x1a22160dd86211000"
% ./miniruby -e "p '%#x' % -(42**12)"
"0x..fe5dde9f2279def000"
}}}
which are the same results as ruby 1.9.1.
--
Ticket URL: <http://www.macruby.org/trac/ticket/159#comment:6>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list