]> www.ginac.de Git - ginac.git/commitdiff
Added missing is_negative() inline function.
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Thu, 2 Aug 2007 21:39:17 +0000 (21:39 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Thu, 2 Aug 2007 21:39:17 +0000 (21:39 +0000)
ginac/numeric.h

index d198eafb6745abb97450783323c0b8dd1c6ea541..f52ffc0bd73e090b8b7f28621bbed14074a86672 100644 (file)
@@ -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(); }