diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-20 04:28:36 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-20 04:28:36 +0000 |
| commit | 8258a00d5cce9506d5e22bf0c1f666729e3735db (patch) | |
| tree | 8fce4fed2cf5e215af7ee8ca39ca575246186d00 /numeric.c | |
| parent | cd9b9dbb806cf08f66b35b0bba514446c0d6ea7a (diff) | |
| download | ruby-8258a00d5cce9506d5e22bf0c1f666729e3735db.tar.gz ruby-8258a00d5cce9506d5e22bf0c1f666729e3735db.tar.xz ruby-8258a00d5cce9506d5e22bf0c1f666729e3735db.zip | |
* numeric.c (flo_eq): alway check if operands are NaN.
[ruby-list:39685]
* lib/cgi/session.rb: use LOCK_SH to read, and a few other
improvements. [ruby-core:02328]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -833,9 +833,7 @@ flo_eq(x, y) return num_equal(x, y); } a = RFLOAT(x)->value; -#if defined __BORLANDC__ if (isnan(a) || isnan(b)) return Qfalse; -#endif return (a == b)?Qtrue:Qfalse; } |
