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

Diff of /ginac/numeric.h

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

revision 1.13 by kreckel, Fri Dec 10 17:23:57 1999 UTC revision 1.14 by kreckel, Mon Dec 13 15:43:34 1999 UTC
# Line 79  class numeric : public basic Line 79  class numeric : public basic
79      friend numeric asinh(numeric const & x);      friend numeric asinh(numeric const & x);
80      friend numeric acosh(numeric const & x);      friend numeric acosh(numeric const & x);
81      friend numeric atanh(numeric const & x);      friend numeric atanh(numeric const & x);
82        friend numeric zeta(numeric const & x);
83      friend numeric bernoulli(numeric const & n);      friend numeric bernoulli(numeric const & n);
84      friend numeric abs(numeric const & x);      friend numeric abs(numeric const & x);
85      friend numeric mod(numeric const & a, numeric const & b);      friend numeric mod(numeric const & a, numeric const & b);
# Line 125  public: Line 126  public:
126      // functions overriding virtual functions from bases classes      // functions overriding virtual functions from bases classes
127  public:  public:
128      basic * duplicate() const;      basic * duplicate() const;
129        void print(ostream & os, unsigned precedence=0) const;
130      void printraw(ostream & os) const;      void printraw(ostream & os) const;
131      void printtree(ostream & os, unsigned indent) const;      void printtree(ostream & os, unsigned indent) const;
     void print(ostream & os, unsigned precedence=0) const;  
132      void printcsrc(ostream & os, unsigned type, unsigned precedence=0) const;      void printcsrc(ostream & os, unsigned type, unsigned precedence=0) const;
133      bool info(unsigned inf) const;      bool info(unsigned inf) const;
134      ex evalf(int level=0) const;      ex evalf(int level=0) const;
# Line 309  inline bool is_rational(numeric const & Line 310  inline bool is_rational(numeric const &
310  inline bool is_real(numeric const & x)  inline bool is_real(numeric const & x)
311  { return x.is_real(); }  { return x.is_real(); }
312    
313    inline bool is_cinteger(numeric const & x)
314    { return x.is_cinteger(); }
315    
316    inline bool is_crational(numeric const & x)
317    { return x.is_crational(); }
318    
319  inline numeric real(numeric const & x)  inline numeric real(numeric const & x)
320  { return x.real(); }  { return x.real(); }
321    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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