summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorshigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-24 13:32:30 +0000
committershigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-24 13:32:30 +0000
commit558c428b72e666a58d6819cb45b63e75f15ae537 (patch)
tree5be89de0864f635d2a12b8424d558220076eb818 /ext
parent782d0f0d32663c1adc2b9a9f4b3523665daf23e1 (diff)
More explanations for sincos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/bigdecimal_en.html2
-rw-r--r--ext/bigdecimal/bigdecimal_ja.html1
2 files changed, 2 insertions, 1 deletions
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.<BR>
<LI><B>sincos</B></LI><BR>
computes and returns sine and cosine value of a with significant digit number n at least.<BR>
sin,cos = a.sincos(n)<BR>
-
+Computation may return bad results unless |a|<2*3.1415.....
<LI><B>exp</B></LI><BR>
c = a.exp(n)<BR>
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 桁の sin と cos を同時に(テイラー展開で)計算して、
n は必要な有効桁数です( n の sin や cos を計算するわけではありません)。
<BR>
sin,cos = a.sincos(n)<BR>
+|a|<2*3.1415....でないと正しい答えを計算できないこともあります。
<LI>exp</LI><BR>
自然対数の底e(=2.718281828....)の a 乗を計算します。<BR>
c = a.exp(n)<BR>