Project

General

Profile

Actions

Bug #3270

closed

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

Added by mrkn (Kenta Murata) over 14 years ago. Updated almost 7 years ago.

Status:
Closed
Target version:
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 2 (0 open2 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0