Bug #3270

BigMath.exp が絶対値が大きな引数で遅い

Added by Kenta Murata almost 4 years ago. Updated about 1 year ago.

Status:Assigned
Priority:Normal
Assignee:Kenta Murata
Category:lib
Target version:next minor
ruby -v:ruby 1.9.3dev (2010-05-11 trunk 27729) [x86_64-darwin10.3.0] Backport:

Description

=begin
Rubyについて Part 40
http://pc12.2ch.net/test/read.cgi/tech/1272248179/121-122

あと、expの絶対値が大きくなると、戻って来ないのよね。
exp(ab+c) = exp(a)*b * exp(c)
を使うと、幸せになれるかも。(ん十倍の威力で)
=end


Related issues

Related to ruby-trunk - Bug #3267: BigDecimal/mathでatan()に1.08を入れると戻り値の有効桁数が足りない Closed 05/11/2010
Related to ruby-trunk - Bug #3271: BigMath.power が遅い Closed 05/11/2010

History

#1 Updated by Kenta Murata almost 4 years ago

  • Status changed from Open to Assigned

=begin

=end

#2 Updated by Kenta Murata almost 4 years ago

  • Category set to lib

=begin

=end

#3 Updated by Hiroshi Nakamura almost 3 years ago

  • Target version changed from 2.0.0 to 1.9.3

#4 Updated by Kenta Murata almost 3 years ago

  • Target version changed from 1.9.3 to 2.0.0

#5 Updated by Kenta Murata about 1 year ago

  • Target version changed from 2.0.0 to next minor

Also available in: Atom PDF