Lines Matching defs:y
249 * @param BigInteger $y
252 public function add(BigInteger $y)
254 return new static($this->value->add($y->value));
260 * @param BigInteger $y
263 public function subtract(BigInteger $y)
265 return new static($this->value->subtract($y->value));
301 * @param BigInteger $y
304 public function divide(BigInteger $y)
306 list($q, $r) = $this->value->divide($y->value);
340 * @var BigInteger $y
345 'y' => new static($y)
481 * Although one might think !$x->compare($y) means $x != $y, it, in fact, means the opposite. The reason for this
484 * $x > $y: $x->compare($y) > 0
485 * $x < $y: $x->compare($y) < 0
486 * $x == $y: $x->compare($y) == 0
488 * Note how the same comparison operator is used. If you want to test for equality, use $x->equals($y).
492 * @param BigInteger $y
493 * @return int in case < 0 if $this is less than $y; > 0 if $this is greater than $y, and 0 if they are equal.
496 public function compare(BigInteger $y)
498 return $this->value->compare($y->value);