From 558c428b72e666a58d6819cb45b63e75f15ae537 Mon Sep 17 00:00:00 2001 From: shigek Date: Thu, 24 Apr 2003 13:32:30 +0000 Subject: More explanations for sincos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/bigdecimal/bigdecimal_en.html | 2 +- ext/bigdecimal/bigdecimal_ja.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/bigdecimal/bigdecimal_en.html b/ext/bigdecimal/bigdecimal_en.html index c87cd5ccd8..ad4ac460cd 100644 --- a/ext/bigdecimal/bigdecimal_en.html +++ b/ext/bigdecimal/bigdecimal_en.html @@ -467,7 +467,7 @@ computes square root value of a with significant digit number n at least.
• sincos

• computes and returns sine and cosine value of a with significant digit number n at least.
sin,cos = a.sincos(n)
- +Computation may return bad results unless |a|<2*3.1415.....
• exp

• c = a.exp(n)
computes the base of natural logarithm value(e=2.718281828....) powered by a diff --git a/ext/bigdecimal/bigdecimal_ja.html b/ext/bigdecimal/bigdecimal_ja.html index bfddabd3ba..e9fa7a0906 100644 --- a/ext/bigdecimal/bigdecimal_ja.html +++ b/ext/bigdecimal/bigdecimal_ja.html @@ -415,6 +415,7 @@ a n は必要な有効桁数です（ n の sin や cos を計算するわけではありません）。
sin,cos = a.sincos(n)
+|a|<2*3.1415....でないと正しい答えを計算できないこともあります。
• exp

• 自然対数の底e(=2.718281828....)の a 乗を計算します。
c = a.exp(n)
-- cgit v1.2.1