Lines Matching refs:x
133 public static function checkInstance(self $x, self $y) argument
135 if ($x->instanceID != $y->instanceID) {
145 public function equals(self $x) argument
147 static::checkInstance($this, $x);
149 return $this->value->equals($x->value);
157 public function compare(self $x) argument
159 static::checkInstance($this, $x);
161 return $this->value->compare($x->value);
169 public function add(self $x) argument
171 static::checkInstance($this, $x);
174 $temp->value = $this->value->add($x->value);
187 public function subtract(self $x) argument
189 static::checkInstance($this, $x);
192 $temp->value = $this->value->subtract($x->value);
205 public function multiply(self $x) argument
207 static::checkInstance($this, $x);
209 return new static($this->instanceID, $this->value->multiply($x->value));
217 public function divide(self $x) argument
219 static::checkInstance($this, $x);
221 $denominator = $x->value->modInverse(static::$modulo[$this->instanceID]);
230 public function pow(BigInteger $x) argument
233 $temp->value = $this->value->powMod($x, static::$modulo[$this->instanceID]);