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 | 4c36359dea36a28751659e34a7a11a311f349e76 (patch) | |
tree | 8fce4fed2cf5e215af7ee8ca39ca575246186d00 /numeric.c | |
parent | 4e8eeeb244c966c57c47503428590fb5329df76d (diff) |
* 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: svn+ssh://ci.ruby-lang.org/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; } |