#1042: BigMath::log and BigMath:exp are broken -------------------------------------+-------------------------------------- Reporter: hghoehne@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Comment(by hghoehne@…): Replying to [comment:1 lsansonetti@…]:
We need to investigate if it's a float precision issue or another bug. it is not a floating point issue: {{{ macruby -ve 'require "bigdecimal/math"; include BigMath; p exp(log(BigDecimal("20.0"), 200), 200).to_s("F")' MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64] "16.682212765135445728579726056096452833034533515555079556957244320033165845148008887123174915662059112635413821896051944861145900807306986139192694748145595129342899638163206001857956245662413278649635" }}}
-- Ticket URL: <http://www.macruby.org/trac/ticket/1042#comment:3> MacRuby <http://macruby.org/>