From c0ab40c785d71c5b2b41c69731b61fe4ba9f8c0f Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 2 Apr 2004 08:35:32 +0000 Subject: * eval.c (top_include): include in the wrapped load is done for the wrapper, not for a singleton class for wrapped main. [ruby-dev:23305] * bignum.c (rb_big_eq): use temporary double variable to save the result (internal float register may be bigger than 64 bits, for example, 80 bits on x86). [ruby-dev:23311] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 1 - 1 file changed, 1 deletion(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index deafeb0627..8c28e17079 100644 --- a/numeric.c +++ b/numeric.c @@ -843,7 +843,6 @@ flo_eq(x, y) return num_equal(x, y); } a = RFLOAT(x)->value; - if (isnan(a) || isnan(b)) return Qfalse; return (a == b)?Qtrue:Qfalse; } -- cgit v1.2.3