summaryrefslogtreecommitdiff
path: root/ext/bigdecimal
AgeCommit message (Collapse)Author
2003-08-29The 2nd arg for add,sub,mult, and div is 0, then result will be same as ↵shigek
+,-,*,/ respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-29limit inserted.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-29mult & div instead of * & /.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-27Forgot to round '*'.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-26sqrt() error checking bug fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-26sqrt() speed up.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-21Int. overflow bug in multiplication fixed & VpNmlz() speed up.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-19to_s("+") implemented.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-19E added. Typo corrected.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-17Refinement for speedup.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-16Typo 'selt' corrected to 'self'.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-15sqrt() & atan() added.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-15Bug fix: limit & div combination.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14Newly added.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14Changed to use lib/bigdecimal/math.rb.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14lib/bigdecimal/math.rb added.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14Bug fix: div method.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13Ambiguity of BigDecimal::limit removed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-10Bug fix: '-' should not be counted as a digit(to_s(n) format).shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08Comment changed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08F style output(like 1234.56789) implemented to to_s method.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06Just small change.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06Comparison results adjusted to Float's.shigek
Use rb_num_coerce_xxxxx(x,y) instead of own. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05Trailing 0s in split removed.(to_digits changed).shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05Trailing 0s in split removed. & bug in floor fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05Bug in to_digits fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05Trailing 0s in to_s removed. & Bug in VpFrac fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05Unnecessary comments removed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05Fix: coerce in comparisons.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04Typo pointed out by Javier Goizueta fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01Specs adjusted for FLoat.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29* lib/net/smtp.rb (Net::SMTP::send0): add taint check.matz
* ruby.h (LLONG_MIN): wrong value. * io.c (rb_f_getc): $stdin may not be IO. [ruby-dev:20973] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28Bug for 2nd arg of round fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28Bug fix from Javier Goizueta.shigek
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-260 ** 0 bug fixed.shigek
ROUND_MODE introduced,COMP_MODE removed & round method substantially changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25Spec for div changed.shigek
add,sub,mult,div now can specify exact digits number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25ver method added.shigek
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-23COMP_MODE_ROUNDUP -> COMP_MODE_ROUNDshigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22Explanation for prec, and some more for max. number of sig. digits.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21* lib/tmpdir.rb: new library to get temporary directory path,matz
using GetTempPath on Win32 environment. * lib/tempfile.rb: now uses tmpdir.rb. * lib/cgi/session.rb, ib/drb/unix.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21patches from T.Saito etc.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18As discussed in ruby-dev ML:shigek
lib directory moved. util.rb created instead of bigdecimal-rational.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18More pathes from Tadasi Saito.shigek
As discussed in ruby-dev ML: E,PI, etc are disabled. BigDecimal op String disabled. to_f changed. lib directory moved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18More pathes from Tadasi Saito.shigek
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-01Precision for '**' enhanced (bug).shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-29Bug in '/' fixed by Tadashi Saito.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27Changed according to Tadashi Saito's advice.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-271.From Tadashi Saito's adviceshigek
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-05-06bigdecimal-brushup.patch from Tadashi Saito applied.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-06* ext/bigdecimal/.cvsignore: new file (retry).aamine
* ext/zlib/.cvsignore: new file (retry). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e