12 {
return lhs.
x==rhs.
x && lhs.
y==rhs.
y; }
15 {
return lhs.
x!=rhs.
x || lhs.
y!=rhs.
y; }
55 if( fabs(rhs.
y)<fabs(rhs.
x) )
59 result.
x = (lhs.
x+lhs.
y*e)/f;
60 result.
y = (lhs.
y-lhs.
x*e)/f;
66 result.
x = (lhs.
y+lhs.
x*e)/f;
67 result.
y = (-lhs.
x+lhs.
y*e)/f;
77 if( fabs(rhs.
y)<fabs(rhs.
x) )
106 w = xabs>yabs ? xabs : yabs;
107 v = xabs<yabs ? xabs : yabs;
113 return w*
sqrt(1+t*t);
138 return double(i)/double(RAND_MAX);
142 {
return rand()%maxv; }
145 {
return int(
floor(x+0.5)); }
148 {
return int(x>0 ?
floor(x) :
ceil(x)); }
151 {
return int(
floor(x)); }
154 {
return int(
ceil(x)); }
157 {
return 3.14159265358979323846; }
164 return m1>m2 ? m1 : m2;
169 return m1>m2 ? m2 : m1;
174 return m1>m2 ? m1 : m2;
179 return m1>m2 ? m2 : m1;
double maxreal(double m1, double m2)
const complex operator/(const complex &lhs, const complex &rhs)
const complex operator-(const complex &lhs)
const bool operator==(const complex &lhs, const complex &rhs)
const double machineepsilon
int randominteger(int maxv)
const signed long floor(const ampf< Precision > &x)
const complex operator*(const complex &lhs, const complex &rhs)
const signed long ceil(const ampf< Precision > &x)
gmp_float sqrt(const gmp_float &a)
int minint(int m1, int m2)
double minreal(double m1, double m2)
const double minrealnumber
int maxint(int m1, int m2)
const Variable & v
< [in] a sqrfree bivariate poly
REvaluation E(1, terms.length(), IntRandom(25))
const complex csqr(const complex &z)
const double maxrealnumber
const double abscomplex(const complex &z)
const complex operator+(const complex &lhs)
const bool operator!=(const complex &lhs, const complex &rhs)
const complex conj(const complex &z)