ruby/test
naruse 7ed0640ffb Add Float::INFINITY and Float::NAN.
* numeric.c (Init_Numeric): Add Float::INFINITY and Float::NAN.
  [ruby-dev:1657] [ruby-dev:4760] [ruby-list:7023] [ruby-list:46690]
  [ruby-core:26632] [ruby-talk:41352] [ruby-talk:203333]

* include/ruby/defines.h (INFINITY): defined.

* include/ruby/defines.h (NAN): defined.

* include/ruby/util.h (ruby_div0): removed.

* numeric.c (fix_pow): use INFINITY and NAN instead of ruby_div0(1.0).

* marshal.c (r_object0): ditto.

* bignum.c (big_fdiv): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29 07:05:39 +00:00
..
base64 * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with 2008-09-25 12:24:54 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): Fix comparisons [ruby-core:26646] 2009-11-14 00:17:07 +00:00
cgi * test/cgi: check by Encoding. 2009-12-23 00:14:48 +00:00
csv rescue Encoding::ConverterNotFoundError. 2009-08-16 06:31:31 +00:00
date * ksvndifftest/date/test_date_parse.rb: use UTF-8 literals. 2009-11-17 08:18:52 +00:00
dbm * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
digest * test/digest/test_digest_extend.rb: added tests for digest framework. 2009-12-01 09:03:29 +00:00
dl * test/dl/test_callback.rb testing callback removal 2009-12-07 00:49:09 +00:00
drb * test/drb/drbtest.rb (DRbService.add_service_command): quotes 2009-12-23 01:31:37 +00:00
erb * test/erb/test_erb.rb (test/erb/test_erb.rb): removed trailing spaces. 2009-03-07 03:35:44 +00:00
etc * test/etc/test_etc.rb: trivial. 2009-02-06 15:26:36 +00:00
fileutils Explicitly use FileUtils.rm_f. [ruby-dev:39345] 2009-12-14 03:19:51 +00:00
gdbm * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
iconv * ext/iconv/iconv.c (iconv_create): cannot retry with given block. 2009-10-15 05:21:00 +00:00
io/nonblock * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): 2008-08-05 09:04:13 +00:00
json Use Array#permutation for permutation tests. 2009-10-20 15:59:43 +00:00
logger * test/logger/test_logger.rb (TestLogDevice#test_write): check 2009-10-20 23:17:19 +00:00
matrix * test/matrix/test_matrix.rb (TestMatrix#test_rank): 2009-11-10 17:18:31 +00:00
minitest Imported minitest 1.4.0 r5083. 2009-06-18 07:31:39 +00:00
mkmf * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387] 2009-11-26 02:42:24 +00:00
monitor * added monitor.rb test. see #2240 the bug on ruby_1_8. 2009-10-20 15:57:39 +00:00
net * lib/net/imap.rb (flag_list): untaint strings to intern in the safe 2009-11-19 13:56:23 +00:00
nkf * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
open-uri unset HTTP_PROXY, etc. 2009-12-10 10:26:55 +00:00
openssl * test/openssl/test_config.rb (OpenSSL::TestConfig): new test case. 2009-11-26 12:18:04 +00:00
optparse * lib/optparse.rb (OptionParser#parse_in_order): do not make an 2009-04-26 06:13:11 +00:00
ostruct * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
pathname * lib/pathname.rb (Pathname#sub): set $~ in block.binding. 2009-03-17 05:26:15 +00:00
rake * test/rake/test_fileutils.rb (Rake::TestFileUtils#test_sh): uses 2009-10-17 09:04:16 +00:00
rdoc Tue Aug 18 13:46:14 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk> 2009-08-18 04:52:41 +00:00
readline * ext/readline/extconf.rb: checked rl_refresh_line in readline. 2009-07-10 13:03:40 +00:00
rexml * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE): 2009-12-29 01:36:26 +00:00
rinda * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
ripper * test/ripper/test_parser_events.rb: more tests. 2009-12-08 01:01:04 +00:00
rss * lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bug 2009-08-24 12:31:22 +00:00
ruby Add Float::INFINITY and Float::NAN. 2009-12-29 07:05:39 +00:00
rubygems * lib/rubygems: update to 1.3.5. 2009-12-08 07:19:09 +00:00
scanf * test/scanf/test_scanfio.rb (TestScanfIO): needs to inherit 2009-10-21 03:44:56 +00:00
sdbm * test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the method 2008-11-10 08:38:20 +00:00
socket Use UDP for sendmsg/recvmsg tests. 2009-07-19 08:53:11 +00:00
stringio * ext/stringio/stringio.c (ungetc): RDoc updated. trunk allows 2009-12-04 04:14:37 +00:00
strscan * ext/strscan/strscan.c (strscan_set_string): set string should not be 2009-08-26 23:16:40 +00:00
uri * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
webrick * test/webrick/test_server.rb (test_daemon): simply use fork's return 2009-12-10 03:46:08 +00:00
win32ole * ext/win32ole/win32ole.c (foleparam_initialize): add foleparam_initialize 2009-12-27 01:51:54 +00:00
xmlrpc * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
yaml * test/yaml/test_boolean.rb (test_n): fixing test name 2009-12-17 19:37:54 +00:00
zlib * ext/zlib/zlib.c (gzfile_read_all): use gzfile_newstr; 2009-08-29 16:17:26 +00:00
inlinetest.rb * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen 2008-06-27 12:19:11 +00:00
runner.rb * test/runner.rb: search srcdir/test/arg at first to find test/ruby 2008-10-20 00:48:24 +00:00
test_delegate.rb * marshal.c (w_object): reverted r26007. [ruby-dev:39845] 2009-12-07 05:11:10 +00:00
test_find.rb add tests. 2009-12-15 17:21:09 +00:00
test_ipaddr.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_mathn.rb * test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data to 2009-12-13 11:56:37 +00:00
test_open3.rb * lib/open3.rb (Open3.pipeline_start): return an array of threads if a 2008-12-10 17:24:42 +00:00
test_pp.rb * lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of 2009-11-07 12:05:38 +00:00
test_prettyprint.rb wrap by a module. 2009-10-04 05:44:27 +00:00
test_prime.rb * test/test_prime.rb 2009-10-18 00:55:34 +00:00
test_pstore.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
test_pty.rb * ext/pty/pty.c (getDevice): add nomesg argument. 2008-12-16 11:39:17 +00:00
test_set.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_shellwords.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
test_singleton.rb new file. 2008-07-03 12:10:30 +00:00
test_syslog.rb * test: use require_relative. 2009-09-12 17:00:51 +00:00
test_tempfile.rb * lib/tempfile.rb (Tempfile#initialize): option hash may not be 2009-11-11 21:42:40 +00:00
test_time.rb * strftime.c: %Y format a year with 4 digits at least. 2009-11-24 11:34:45 +00:00
test_timeout.rb test/test_timeout.rb (TestTimeout#test_timeout): add a test. 2009-04-28 10:10:05 +00:00
test_tsort.rb * test/test_pp.rb: extract from lib/pp.rb. 2009-02-14 23:36:45 +00:00