From: Richard Kreckel Date: Mon, 3 Apr 2000 22:02:17 +0000 (+0000) Subject: - inline int csgn(const numeric &): fixed a typo. X-Git-Tag: release_0-6-0~36 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=19457cda7eb2924618a009690217581a4e55173d - inline int csgn(const numeric &): fixed a typo. --- diff --git a/ginac/numeric.h b/ginac/numeric.h index ff63e42d..0c729c68 100644 --- a/ginac/numeric.h +++ b/ginac/numeric.h @@ -269,7 +269,7 @@ inline numeric pow(const numeric & x, const numeric & y) inline numeric inverse(const numeric & x) { return x.inverse(); } -inline bool csgn(const numeric & x) +inline int csgn(const numeric & x) { return x.csgn(); } inline bool is_zero(const numeric & x) @@ -308,16 +308,16 @@ inline bool is_cinteger(const numeric & x) inline bool is_crational(const numeric & x) { return x.is_crational(); } -inline numeric real(const numeric & x) +inline const numeric real(const numeric & x) { return x.real(); } -inline numeric imag(const numeric & x) +inline const numeric imag(const numeric & x) { return x.imag(); } -inline numeric numer(const numeric & x) +inline const numeric numer(const numeric & x) { return x.numer(); } -inline numeric denom(const numeric & x) +inline const numeric denom(const numeric & x) { return x.denom(); } // numeric evaluation functions for class constant objects: