From: Jens Vollinga Date: Thu, 2 Aug 2007 21:39:17 +0000 (+0000) Subject: Added missing is_negative() inline function. X-Git-Tag: release_1-4-0~13 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=6d72e4b12dbd1bb053563bd9fab5fad56e052d1f Added missing is_negative() inline function. --- diff --git a/ginac/numeric.h b/ginac/numeric.h index d198eafb..f52ffc0b 100644 --- a/ginac/numeric.h +++ b/ginac/numeric.h @@ -266,6 +266,9 @@ inline bool is_zero(const numeric &x) inline bool is_positive(const numeric &x) { return x.is_positive(); } +inline bool is_negative(const numeric &x) +{ return x.is_negative(); } + inline bool is_integer(const numeric &x) { return x.is_integer(); }