Lines Matching refs:x
171 public function __construct($x = 0, $base = 10) argument
175 if ($x instanceof self::$mainEngine) {
176 $this->value = clone $x;
177 } elseif ($x instanceof BigInteger\Engines\Engine) {
178 $this->value = new static("$x");
179 $this->value->setPrecision($x->getPrecision());
181 $this->value = new self::$mainEngine($x, $base);
274 * @param BigInteger $x
277 public function multiply(BigInteger $x) argument
279 return new static($this->value->multiply($x->value));
347 'x' => new static($x),
509 * @param BigInteger $x
512 public function equals(BigInteger $x) argument
514 return $this->value->equals($x->value);
530 * @param BigInteger $x
533 public function bitwise_and(BigInteger $x) argument
535 return new static($this->value->bitwise_and($x->value));
541 * @param BigInteger $x
544 public function bitwise_or(BigInteger $x) argument
546 return new static($this->value->bitwise_or($x->value));
552 * @param BigInteger $x
555 public function bitwise_xor(BigInteger $x) argument
557 return new static($this->value->bitwise_xor($x->value));
821 * @param int $x
824 public function testBit($x) argument
826 return $this->value->testBit($x);
876 return function (BigInteger $x) use ($func) {
877 return new static($func($x->value));