- numeric add(const numeric & other) const;
- numeric sub(const numeric & other) const;
- numeric mul(const numeric & other) const;
- numeric div(const numeric & other) const;
- numeric power(const numeric & other) const;
- const numeric & add_dyn(const numeric & other) const;
- const numeric & sub_dyn(const numeric & other) const;
- const numeric & mul_dyn(const numeric & other) const;
- const numeric & div_dyn(const numeric & other) const;
- const numeric & power_dyn(const numeric & other) const;
- const numeric & operator=(int i);
- const numeric & operator=(unsigned int i);
- const numeric & operator=(long i);
- const numeric & operator=(unsigned long i);
- const numeric & operator=(double d);
- const numeric & operator=(const char * s);
- numeric inverse(void) const;
- int csgn(void) const;
- int compare(const numeric & other) const;
- bool is_equal(const numeric & other) const;
- bool is_zero(void) const;
- bool is_positive(void) const;
- bool is_negative(void) const;
- bool is_integer(void) const;
- bool is_pos_integer(void) const;
- bool is_nonneg_integer(void) const;
- bool is_even(void) const;
- bool is_odd(void) const;
- bool is_prime(void) const;
- bool is_rational(void) const;
- bool is_real(void) const;
- bool is_cinteger(void) const;
- bool is_crational(void) const;
- bool operator==(const numeric & other) const;
- bool operator!=(const numeric & other) const;
- bool operator<(const numeric & other) const;
- bool operator<=(const numeric & other) const;
- bool operator>(const numeric & other) const;
- bool operator>=(const numeric & other) const;
- int to_int(void) const;
- long to_long(void) const;
- double to_double(void) const;
- const numeric real(void) const;
- const numeric imag(void) const;
- const numeric numer(void) const;
- const numeric denom(void) const;
- int int_length(void) const;
+ const numeric add(const numeric &other) const;
+ const numeric sub(const numeric &other) const;
+ const numeric mul(const numeric &other) const;
+ const numeric div(const numeric &other) const;
+ const numeric power(const numeric &other) const;
+ const numeric & add_dyn(const numeric &other) const;
+ const numeric & sub_dyn(const numeric &other) const;
+ const numeric & mul_dyn(const numeric &other) const;
+ const numeric & div_dyn(const numeric &other) const;
+ const numeric & power_dyn(const numeric &other) const;
+ const numeric & operator=(int i);
+ const numeric & operator=(unsigned int i);
+ const numeric & operator=(long i);
+ const numeric & operator=(unsigned long i);
+ const numeric & operator=(double d);
+ const numeric & operator=(const char *s);
+ const numeric inverse(void) const;
+ int csgn(void) const;
+ int compare(const numeric &other) const;
+ bool is_equal(const numeric &other) const;
+ bool is_zero(void) const;
+ bool is_positive(void) const;
+ bool is_negative(void) const;
+ bool is_integer(void) const;
+ bool is_pos_integer(void) const;
+ bool is_nonneg_integer(void) const;
+ bool is_even(void) const;
+ bool is_odd(void) const;
+ bool is_prime(void) const;
+ bool is_rational(void) const;
+ bool is_real(void) const;
+ bool is_cinteger(void) const;
+ bool is_crational(void) const;
+ bool operator==(const numeric &other) const;
+ bool operator!=(const numeric &other) const;
+ bool operator<(const numeric &other) const;
+ bool operator<=(const numeric &other) const;
+ bool operator>(const numeric &other) const;
+ bool operator>=(const numeric &other) const;
+ int to_int(void) const;
+ long to_long(void) const;
+ double to_double(void) const;
+ cln::cl_N to_cl_N(void) const;
+ const numeric real(void) const;
+ const numeric imag(void) const;
+ const numeric numer(void) const;
+ const numeric denom(void) const;
+ int int_length(void) const;
+ // converting routines for interfacing with CLN:
+ numeric(const cln::cl_N &z);