Lines Matching refs:value

60     private $value;
63 * Mode independent value used for serialization.
173 $this->value = clone $x;
175 $this->value = new static("$x");
176 $this->value->setPrecision($x->getPrecision());
178 $this->value = new self::$mainEngine($x, $base);
189 return $this->value->toString();
197 return (string)$this->value;
207 return $this->value->__debugInfo();
218 return $this->value->toBytes($twos_compliment);
229 return $this->value->toHex($twos_compliment);
243 return $this->value->toBits($twos_compliment);
254 return new static($this->value->add($y->value));
265 return new static($this->value->subtract($y->value));
276 return new static($this->value->multiply($x->value));
306 list($q, $r) = $this->value->divide($y->value);
323 return new static($this->value->modInverse($n->value));
336 extract($this->value->extendedGCD($n->value));
359 return new static($this->value->gcd($n->value));
363 * Absolute value.
369 return new static($this->value->abs());
382 $this->value->setPrecision($bits);
394 return $this->value->getPrecision();
430 $this->value = $temp->value;
463 return new static($this->value->powMod($e->value, $n->value));
475 return new static($this->value->modPow($e->value, $n->value));
498 return $this->value->compare($y->value);
511 return $this->value->equals($x->value);
521 return new static($this->value->bitwise_not());
532 return new static($this->value->bitwise_and($x->value));
543 return new static($this->value->bitwise_or($x->value));
554 return new static($this->value->bitwise_xor($x->value));
567 return new static($this->value->bitwise_rightShift($shift));
580 return new static($this->value->bitwise_leftShift($shift));
593 return new static($this->value->bitwise_leftRotate($shift));
606 return new static($this->value->bitwise_rightRotate($shift));
637 return $this->value->getLength();
647 return $this->value->getLengthInBytes();
694 return new static($class::randomRangePrime($min->value, $max->value));
713 return new static($class::randomRange($min->value, $max->value));
728 return $this->value->isPrime($t);
741 return new static($this->value->root($n));
752 return new static($this->value->pow($n->value));
765 return $num->value;
780 return $num->value;
794 return $this->value->between($min->value, $max->value);
802 $this->value = clone $this->value;
812 return $this->value->isOdd();
823 return $this->value->testBit($x);
833 return $this->value->isNegative();
845 return new static($this->value->negate());
859 return $class::scan1divide($r->value);
872 $func = $this->value->createRecurringModuloFunction();
874 return new static($func($x->value));
890 }, $this->value->bitwise_split($split));