[MacRuby-devel] [MacRuby] #584: BigMath.sqrt always returns NaN

MacRuby ruby-noreply at macosforge.org
Sun Jan 31 18:53:28 PST 2010


#584: BigMath.sqrt always returns NaN
-------------------------------------+--------------------------------------
 Reporter:  hghoehne@…               |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  major                    |   Milestone:  MacRuby 0.5          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 require "bigdecimal"
 require "bigdecimal/math"
 four = BigDecimal("4")
 puts BigMath.sqrt(four, 10)
 NaN

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/584>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list