summaryrefslogtreecommitdiff
path: root/ext/bigdecimal
AgeCommit message (Collapse)Author
2005-02-28* exception error messages updated. [ruby-core:04497]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-18* ext/bigdecimal/sample/linear.rb: resolve LoadError.ocean
* ext/bigdecimal/sample/nlsolve.rb: ditto. * ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file is sample script and same file exists in ext/bigdecimal/sample. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-18* bigdecimal/newton.rb: resolve LoadError.ocean
* bigdecimal/nlsolve.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01* MANIFEST, ext/**/MANIFEST: removed.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19* io.c (read_all): block string buffer modification duringmatz
rb_io_fread() by freezing it temporarily. [ruby-dev:24479] * dir.c (rb_push_glob): block call at once the end of method. [ruby-dev:24487] * ext/enumerator/enumerator.c (enum_each_slice): remove rb_gc_force_recycle() to prevent potential SEGV. [ruby-dev:24499] * ext/zlib/zlib.c (zstream_expand_buffer): hide internal string buffer by clearing klass. [ruby-dev:24510] * ext/socket/socket.c (sock_s_getservbyaname): protocol string might be altered. [ruby-dev:24503] * string.c (rb_str_upto): check if return value from succ is a string. [ruby-dev:24504] * io.c (rb_io_popen): get mode string via rb_io_flags_mode() to avoid mode string modification. [ruby-dev:24454] * io.c (rb_io_getline_fast): should take delim as unsigned char to distinguish EOF and '\377'. [ruby-dev:24460] * io.c (rb_io_getline): add check for RS modification. [ruby-dev:24461] * enum.c (enum_sort_by): use qsort() directly instead using rb_iterate(). [ruby-dev:24462] * enum.c (enum_each_with_index): remove rb_gc_force_recycle() to prevent access to recycled object (via continuation for example). [ruby-dev:24463] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-11Fix for 'incomplete bug fix' for 1.41.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-25This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11* configure.in (ieeefp.h), numeric.c: needed for finite() onnobu
Solaris. [ruby-core:01921] * file.c (rb_stat_inspect): adjust format specifier. * parse.c (arg_prepend): nodetype() is for debug use. * ruby.h (ISASCII, etc): cast to int to get rid of warning. * ruby.h (alloca.h): include even in GCC. [ruby-core:01925] * ext/bigdecimal/bigdecimal.c (GetVpValue): adjust format specifier. * ext/bigdecimal/bigdecimal.c (BigDecimal_prec, BigDecimal_coerce, BigDecimal_divmod): use rb_assoc_new() to suppress memory usage. * ext/bigdecimal/bigdecimal.c (BigDecimal_split): ditto. * ext/dl/sym.c (rb_dlsym_guardcall): guard itself should be volatile. * ext/iconv/iconv.c (iconv_convert): ensure actual parameter with format specifier. * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): do not define unless used. * ext/pty/pty.c (getDevice): get rid of warning. * ext/socket/socket.c (port_str, sock_s_getaddrinfo, sock_s_getnameinfo): FIX2INT() now returns long. * ext/socket/socket.c (init_inetsock_internal): uninitialized variable. * ext/syck/rubyext.c (syck_parser_assign_io): add prototype. * ext/syck/rubyext.c (rb_syck_mktime, yaml_org_handler): use ISDIGIT() instead of isdigit() to avoid warnings and for platforms which don't support non-ascii charater. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-04typoshigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21Added math.rb descriptions.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21Local version number(BigDecimal::ver) incremented.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21can read data from file.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24* ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c,nobu
ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must not use C++ or C99 style comment yet. (ruby-bugs:PR#1184) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-04Bug fix: [ruby-dev:21314] [BigDecimal] [BUG] Segmentation faultshigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-03Bug in mult method fixed.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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