diff --git a/ext/bigdecimal/bigdecimal_en.html b/ext/bigdecimal/bigdecimal_en.html index 7f6faa39b9..02c88df43e 100644 --- a/ext/bigdecimal/bigdecimal_en.html +++ b/ext/bigdecimal/bigdecimal_en.html @@ -91,12 +91,17 @@ In 32 bits integer system,every 4 digits(in decimal) are computed simultaneously This means the number of significant digits in BigDecimal is always a multiple of 4.
Some more methods are available in Ruby code (not C code).
-To use them,just require util.rb as:
+Functions such as sin,cos ...,are in math.rb in bigdecimal directory.
+To use them,require math.rb as:
+
+For details,see the math.rb code and comments.
+Other utility methods are in util.rb.
+To use util.rb, require it as:
+require "bigdecimal/math.rb"
+
-String to BigDecimal conversion, BigDecimal to String conversion
-(in "nnnnnn.mmmm" form not in "0.xxxxxEn" form) etc are defined.
For details,see the util.rb code.
require "bigdecimal/util.rb"
以下のメソッド以外にも、(C ではない) Ruby ソースの形で
-提供されているものもあります。例えば、文字列から BigDecimal への
-変換や、"0.xxxxxEn" という形式ではなく "nnnnn.mmmm" の形式の文字列
-へ変換するメソッド等があります。利用するには
+提供されているものもあります。例えば、
+
+とすることで、sin や cos といった関数が使用できるようになります。
+使用方法など、詳細は math.rb の内容を参照して下さい。
+
+その他、Float との相互変換などのメソッドが util.rb でサポートされています。
+利用するには
+require "bigdecimal/math.rb"
+
require "bigdecimal/util.rb"