Lines Matching refs:x
61 * @param mixed $x integer Base-10 number or base-$base number if $base set.
65 public function __construct($x = 0, $base = 10) argument
76 parent::__construct($x, $base);
92 $x = str_pad($this->value, $len, chr(0), STR_PAD_LEFT);
99 0x1000000 * ord($x[$i]) + ((ord($x[$i + 1]) << 16) | (ord(
100 $x[$i + 2]
101 ) << 8) | ord($x[$i + 3])),
111 $x = (strlen($this->value) & 1) ? '0' . $this->value : $this->value;
112 $temp = new self(Hex::decode($x), 256);
198 * @param BCMath $x
201 public function multiply(BCMath $x) argument
204 $temp->value = bcmul($this->value, $x->value);
329 * @param BCMath $x
332 public function bitwise_and(BCMath $x) argument
334 return $this->bitwiseAndHelper($x);
340 * @param BCMath $x
343 public function bitwise_or(BCMath $x) argument
345 return $this->bitwiseXorHelper($x);
351 * @param BCMath $x
354 public function bitwise_xor(BCMath $x) argument
356 return $this->bitwiseXorHelper($x);
419 * @param BCMath $x
422 public function equals(BCMath $x) argument
424 return $this->value == $x->value;
663 public function testBit($x) argument
666 bcmod($this->value, bcpow('2', $x + 1, 0)),
667 bcpow('2', $x, 0),