diff liboctave/lo-utils.cc @ 11013:63f79f798a14

fix small typos in new tests
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 22 Sep 2010 09:04:56 +0200
parents 9478b216752e
children 2554b4a0806e
line wrap: on
line diff
--- a/liboctave/lo-utils.cc	Wed Sep 22 07:57:33 2010 +0200
+++ b/liboctave/lo-utils.cc	Wed Sep 22 09:04:56 2010 +0200
@@ -113,7 +113,7 @@
 }
 
 bool xis_int_or_inf_or_nan (double x)
-{ return ! (xisnan (x) || D_NINT (x) == x); }
+{ return xisnan (x) || D_NINT (x) == x; }
 
 bool xis_one_or_zero (double x)
 { return x == 0 || x == 1; }
@@ -125,7 +125,7 @@
 { return (! (xisnan (x) || xisinf (x)) && fabs (x) > FLT_MAX); }
 
 bool xis_int_or_inf_or_nan (float x)
-{ return ! (xisnan (x) || D_NINT (x) == x); }
+{ return xisnan (x) || D_NINT (x) == x; }
 
 bool xis_one_or_zero (float x)
 { return x == 0 || x == 1; }