1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

More explanations for sincos.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shigek 2003-04-24 13:32:30 +00:00
parent 782d0f0d32
commit 558c428b72
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -415,6 +415,7 @@ a
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>