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

Diff of /ginac/numeric.h

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

revision 1.35 by kreckel, Tue Jun 6 20:34:21 2000 UTC revision 1.36 by kreckel, Thu Jul 20 21:12:42 2000 UTC
# Line 52  public: Line 52  public:
52      _numeric_digits();      _numeric_digits();
53      _numeric_digits& operator=(long prec);      _numeric_digits& operator=(long prec);
54      operator long();      operator long();
55      void print(ostream & os) const;      void print(std::ostream & os) const;
56  // member variables  // member variables
57  private:  private:
58      long digits;      long digits;
# Line 81  class numeric : public basic Line 81  class numeric : public basic
81      friend const numeric asinh(const numeric & x);      friend const numeric asinh(const numeric & x);
82      friend const numeric acosh(const numeric & x);      friend const numeric acosh(const numeric & x);
83      friend const numeric atanh(const numeric & x);      friend const numeric atanh(const numeric & x);
84        friend const numeric Li2(const numeric & x);
85      friend const numeric zeta(const numeric & x);      friend const numeric zeta(const numeric & x);
86      friend const numeric bernoulli(const numeric & n);      // friend const numeric bernoulli(const numeric & n);
87      friend const numeric fibonacci(const numeric & n);      friend const numeric fibonacci(const numeric & n);
88      friend numeric abs(const numeric & x);      friend numeric abs(const numeric & x);
89      friend numeric mod(const numeric & a, const numeric & b);      friend numeric mod(const numeric & a, const numeric & b);
# Line 123  public: Line 124  public:
124      // functions overriding virtual functions from bases classes      // functions overriding virtual functions from bases classes
125  public:  public:
126      basic * duplicate() const;      basic * duplicate() const;
127      void print(ostream & os, unsigned precedence=0) const;      void print(std::ostream & os, unsigned precedence=0) const;
128      void printraw(ostream & os) const;      void printraw(std::ostream & os) const;
129      void printtree(ostream & os, unsigned indent) const;      void printtree(std::ostream & os, unsigned indent) const;
130      void printcsrc(ostream & os, unsigned type, unsigned precedence=0) const;      void printcsrc(std::ostream & os, unsigned type, unsigned precedence=0) const;
131      bool info(unsigned inf) const;      bool info(unsigned inf) const;
132      bool has(const ex & other) const;      bool has(const ex & other) const;
133      ex eval(int level=0) const;      ex eval(int level=0) const;
# Line 165  public: Line 166  public:
166      const numeric & operator=(const char * s);      const numeric & operator=(const char * s);
167      numeric inverse(void) const;      numeric inverse(void) const;
168      int csgn(void) const;      int csgn(void) const;
169        ::cl_N* clnptr(void) const { return value; } /**< ptr to representation. */
170      int compare(const numeric & other) const;      int compare(const numeric & other) const;
171      bool is_equal(const numeric & other) const;      bool is_equal(const numeric & other) const;
172      bool is_zero(void) const;      bool is_zero(void) const;
# Line 232  const numeric tanh(const numeric & x); Line 234  const numeric tanh(const numeric & x);
234  const numeric asinh(const numeric & x);  const numeric asinh(const numeric & x);
235  const numeric acosh(const numeric & x);  const numeric acosh(const numeric & x);
236  const numeric atanh(const numeric & x);  const numeric atanh(const numeric & x);
237    const numeric Li2(const numeric & x);
238  const numeric zeta(const numeric & x);  const numeric zeta(const numeric & x);
239  const numeric lgamma(const numeric & x);  const numeric lgamma(const numeric & x);
240  const numeric tgamma(const numeric & x);  const numeric tgamma(const numeric & x);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

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