Lines Matching defs:second
74 A1 A1::operator+(const A1& second)
77 sum.x = x + second.x;
78 sum.y = y + second.y;
83 A1 A1::operator*(const A1& second)
86 product.x = this->x * second.x;
87 product.y = this->y * second.y;
92 A1 A1::operator-(const A1& second)
95 diff.x = x - second.x;
96 diff.y = y - second.y;
101 A1 A1::operator/(const A1& second)
104 div.x = x / second.x;
105 div.y = y / second.y;
110 A1 A1::operator%(const A1& second)
113 rem.x = x % second.x;
114 rem.y = y % second.y;
119 int A1::operator==(const A1& second)
121 int a = (x == second.x);
122 int b = (y == second.y);
127 int A1::operator!=(const A1& second)
129 int a = (x != second.x);
130 int b = (y != second.y);
135 int A1::operator&&(const A1& second)
137 return ( x && second.x);
140 int A1::operator||(const A1& second)
142 return ( x || second.x);
163 A1 A1::operator|(const A1& second)
166 abitor.x = x | second.x;
167 abitor.y = y | second.y;
172 A1 A1::operator^(const A1& second)
175 axor.x = x ^ second.x;
176 axor.y = y ^ second.y;
181 A1 A1::operator&(const A1& second)
184 abitand.x = x & second.x;
185 abitand.y = y & second.y;
190 int A1::operator<(const A1& second)
194 return (x < second.x);
197 int A1::operator<=(const A1& second)
199 return (x <= second.x);
202 int A1::operator>=(const A1& second)
204 return (x >= second.x);
207 int A1::operator>(const A1& second)
209 return (x > second.x);
273 A1 A1::operator=(const A1& second)
276 x = second.x;
277 y = second.y;