Lines Matching refs:compare
250 $comparison = $this->compare(new static());
296 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {
318 if ($this->compare(static::$zero[static::class]) < 0) {
334 $x = $x->compare(static::$zero[static::class]) < 0 ? $x->add($n) : $x;
336 …return $this->compare(static::$zero[static::class]) < 0 ? $this->normalize($n->subtract($x)) : $th…
637 … $n = $this->bitmask !== false && $this->bitmask->compare($n) < 0 ? $this->bitmask : $n->abs();
639 if ($e->compare(new static()) < 0) {
776 $compare = $max->compare($min);
778 if (!$compare) {
780 } elseif ($compare < 0) {
807 $compare = $max->compare($min);
809 if (!$compare) {
811 } elseif ($compare < 0) {
847 while ($random->compare($max_multiple) >= 0) {
876 if ($x->compare($max) > 0) {
894 if ($x->compare($max) > 0) {
1008 if ($this->compare(static::$one[static::class]) < 0) {
1011 if ($this->compare(static::$two[static::class]) < 0) {
1035 while ($g->pow($n)->compare($this) < 0) {
1053 while ($step->compare(static::$one[static::class]) == 1) {
1056 $comp = $guess->compare($this); // compare our guess with real number
1104 $min = $min->compare($nums[$i]) > 0 ? $nums[$i] : $min;
1122 $max = $max->compare($nums[$i]) < 0 ? $nums[$i] : $max;