comparison liboctave/lo-mappers.h @ 7922:935be827eaf8

error for NaN values in & and | expressions
author John W. Eaton <jwe@octave.org>
date Fri, 11 Jul 2008 14:56:30 -0400
parents 82be108cc558
children eb63fbe60fab
comparison
equal deleted inserted replaced
7921:fcc70f30fe31 7922:935be827eaf8
39 extern OCTAVE_API double xlog2 (double x); 39 extern OCTAVE_API double xlog2 (double x);
40 extern OCTAVE_API Complex xlog2 (const Complex& x); 40 extern OCTAVE_API Complex xlog2 (const Complex& x);
41 extern OCTAVE_API double xlog2 (double x, int& exp); 41 extern OCTAVE_API double xlog2 (double x, int& exp);
42 extern OCTAVE_API Complex xlog2 (const Complex& x, int& exp); 42 extern OCTAVE_API Complex xlog2 (const Complex& x, int& exp);
43 extern OCTAVE_API double xexp2 (double x); 43 extern OCTAVE_API double xexp2 (double x);
44
45 // These are used by the BOOL_OP macros in mx-op-defs.h.
46 inline bool xisnan (bool) { return false; }
47 inline bool xisnan (char) { return false; }
44 48
45 extern OCTAVE_API bool xisnan (double x); 49 extern OCTAVE_API bool xisnan (double x);
46 extern OCTAVE_API bool xfinite (double x); 50 extern OCTAVE_API bool xfinite (double x);
47 extern OCTAVE_API bool xisinf (double x); 51 extern OCTAVE_API bool xisinf (double x);
48 52