Mercurial > hg > octave-lyh
diff liboctave/Array-d.cc @ 9003:0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 20:46:21 +0100 |
parents | eb63fbe60fab |
children | 3c1762c7e787 |
line wrap: on
line diff
--- a/liboctave/Array-d.cc +++ b/liboctave/Array-d.cc @@ -27,7 +27,7 @@ // Instantiate Arrays of double values. -#include "lo-ieee.h" +#include "lo-mappers.h" #include "Array.h" #include "Array.cc" #include "oct-locbuf.h" @@ -40,19 +40,19 @@ inline bool sort_isnan<double> (double x) { - return lo_ieee_isnan (x); + return xisnan (x); } static bool nan_ascending_compare (double x, double y) { - return lo_ieee_isnan (y) ? ! lo_ieee_isnan (x) : x < y; + return xisnan (y) ? ! xisnan (x) : x < y; } static bool nan_descending_compare (double x, double y) { - return lo_ieee_isnan (x) ? ! lo_ieee_isnan (y) : x > y; + return xisnan (x) ? ! xisnan (y) : x > y; } Array<double>::compare_fcn_type