Project

General

Profile

Bug #3270

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

Added by Kenta Murata over 6 years ago. Updated almost 4 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
ruby -v:
ruby 1.9.3dev (2010-05-11 trunk 27729) [x86_64-darwin10.3.0]

Description

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

あと、expの絶対値が大きくなると、戻って来ないのよね。
exp(a*b+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 over 6 years ago

  • Status changed from Open to Assigned

=begin

=end

#2 Updated by Kenta Murata over 6 years ago

  • Category set to lib

=begin

=end

#3 [ruby-core:37525] Updated by Hiroshi Nakamura over 5 years ago

  • Target version changed from 2.0.0 to 1.9.3

#4 [ruby-core:37949] Updated by Kenta Murata over 5 years ago

  • Target version changed from 1.9.3 to 2.0.0

#5 [ruby-core:52359] Updated by Kenta Murata almost 4 years ago

  • Target version changed from 2.0.0 to next minor

Also available in: Atom PDF