Mercurial > forge
diff main/fixed/src/fixedComplex.h @ 9481:d84d2fea3c90 octave-forge
Re-enable compilation of fixed package
author | jordigh |
---|---|
date | Wed, 22 Feb 2012 22:07:33 +0000 |
parents | f8d77845533f |
children |
line wrap: on
line diff
--- a/main/fixed/src/fixedComplex.h Wed Feb 22 21:56:05 2012 +0000 +++ b/main/fixed/src/fixedComplex.h Wed Feb 22 22:07:33 2012 +0000 @@ -122,6 +122,8 @@ (unsigned int)a.imag(), (unsigned int)b.imag())) { } + operator bool () const { return fixedpoint() != 0.0; } + Complex sign (void) const; Complex getdecsize (void) const; Complex getintsize (void) const;