/[GiNaC]/ginac/numeric.h
ViewVC logotype

Diff of /ginac/numeric.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by kreckel, Wed Mar 29 20:09:35 2000 UTC revision 1.32 by kreckel, Mon Apr 3 18:02:17 2000 UTC
# Line 269  inline numeric pow(const numeric & x, co Line 269  inline numeric pow(const numeric & x, co
269  inline numeric inverse(const numeric & x)  inline numeric inverse(const numeric & x)
270  { return x.inverse(); }  { return x.inverse(); }
271    
272  inline bool csgn(const numeric & x)  inline int csgn(const numeric & x)
273  { return x.csgn(); }  { return x.csgn(); }
274    
275  inline bool is_zero(const numeric & x)  inline bool is_zero(const numeric & x)
# Line 308  inline bool is_cinteger(const numeric & Line 308  inline bool is_cinteger(const numeric &
308  inline bool is_crational(const numeric & x)  inline bool is_crational(const numeric & x)
309  { return x.is_crational(); }  { return x.is_crational(); }
310    
311  inline numeric real(const numeric & x)  inline const numeric real(const numeric & x)
312  { return x.real(); }  { return x.real(); }
313    
314  inline numeric imag(const numeric & x)  inline const numeric imag(const numeric & x)
315  { return x.imag(); }  { return x.imag(); }
316    
317  inline numeric numer(const numeric & x)  inline const numeric numer(const numeric & x)
318  { return x.numer(); }  { return x.numer(); }
319    
320  inline numeric denom(const numeric & x)  inline const numeric denom(const numeric & x)
321  { return x.denom(); }  { return x.denom(); }
322    
323  // numeric evaluation functions for class constant objects:  // numeric evaluation functions for class constant objects:

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15