[MacRuby-devel] [MacRuby] #159: "%d" with large integer argument gives conversion error

MacRuby ruby-noreply at macosforge.org
Wed Feb 10 19:18:51 PST 2010


#159: "%d" with large integer argument gives conversion error
---------------------------------+------------------------------------------
 Reporter:  jamis@…              |        Owner:  lsansonetti@…        
     Type:  defect               |       Status:  closed               
 Priority:  major                |    Milestone:  MacRuby 0.6          
Component:  MacRuby              |   Resolution:  fixed                
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.6


Comment:

 In the meantime, this bug seems to be fixed as of r3487 (which does more
 or less what Ed did, a new sprintf implementation).

 {{{
 $ ./miniruby -e "p '%d' % 100000000000000000000000000000000000000"
 "100000000000000000000000000000000000000"
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/159#comment:13>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list