diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-20 04:34:14 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-20 04:34:14 +0000 |
| commit | 39fb0d4c51c26e8c7e061bd885a8106924e6ddc0 (patch) | |
| tree | 10dc48fe45c7714540858394da15340b021d9bf4 /numeric.c | |
| parent | 6141b9c82be7825f54c71ab0247dce948be0711d (diff) | |
| download | ruby-39fb0d4c51c26e8c7e061bd885a8106924e6ddc0.tar.gz ruby-39fb0d4c51c26e8c7e061bd885a8106924e6ddc0.tar.xz ruby-39fb0d4c51c26e8c7e061bd885a8106924e6ddc0.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/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -834,9 +834,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; } |
