Issue #7491 has been reported by sho-h (Sho Hashimoto).

----------------------------------------
Bug #7491: BigMath.#exp ??? Float???Rational ??????絎???с??????
https://bugs.ruby-lang.org/issues/7491

Author: sho-h (Sho Hashimoto)
Status: Open
Priority: Low
Assignee: 
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-12-02 trunk 38135) [x86_64-linux]


1.9.3 ?????? BigMath.#exp ??с?? Fixnum???Float???Rational ??????吾?с?????????絎???с????????с?????????????????с????????Float???Rational ???ゃ???????? ArgumentError ??? TypeError ????c?????障??????????с?????

  puts BigMath.exp(BigDecimal("1.0"), 10) # => 0.2718281828E1
  puts BigMath.exp(1, 10)                 # => 0.2718281828E1
  puts BigMath.exp(1.0, 10)               # => ArgumentError
  puts BigMath.exp(Rational(1, 1), 10)    # => TypeError



-- 
http://bugs.ruby-lang.org/