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

12 commits

Author SHA1 Message Date
shigek
606c473683 F style output(like 1234.56789) implemented to to_s method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 15:31:27 +00:00
shigek
5d8f3617e0 Specs adjusted for FLoat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 04:48:32 +00:00
shigek
4cbf09d1fe Bug fix from Javier Goizueta.
ROUND_MODE & round changed(source & docs).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 02:56:43 +00:00
shigek
aafd6b025c ver method added.
Spec for div changed.
add,sub,mult,div now can specify exact digits number.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 02:26:56 +00:00
shigek
28f3cb3fd8 COMP_MODE_ROUNDUP -> COMP_MODE_ROUND
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 04:48:56 +00:00
shigek
66910f17b7 Explanation for prec, and some more for max. number of sig. digits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 14:04:23 +00:00
shigek
15c3df744f patches from T.Saito etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 14:49:25 +00:00
shigek
b10272dc37 More pathes from Tadasi Saito.
As discussed in ruby-dev ML:
  E,PI, etc are disabled.
  BigDecimal op String disabled.
  to_f changed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 15:23:23 +00:00
shigek
d3ce235bab 1.From Tadashi Saito's advice
to_parts changed to split,assign removed, ** added,bugs in infinite? & nozero? fixed.
2.Rounding functionalities added
  mode now accepts rounding mode.
  round accepts second argument for Bankers' rounding.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27 04:38:57 +00:00
shigek
3f8d7303c1 bigdecimal-brushup.patch from Tadashi Saito applied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-06 13:18:26 +00:00
shigek
558c428b72 More explanations for sincos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-24 13:32:30 +00:00
shigek
7744351708 Copied from rough/bigdecimal,documents & some sample programs added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28 05:00:21 +00:00