Home
last modified time | relevance | path

Searched refs:is_negative (Results 1 – 6 of 6) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DPHP64.php117 $temp = self::addHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
130 $temp = self::subtractHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
143 $temp = self::multiplyHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
254 return parent::compareHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
267 return $this->value === $x->value && $this->is_negative == $x->is_negative;
H A DPHP32.php116 $temp = self::addHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
129 $temp = self::subtractHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
142 $temp = self::multiplyHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
253 return $this->compareHelper($this->value, $this->is_negative, $y->value, $y->is_negative);
266 return $this->value === $x->value && $this->is_negative == $x->is_negative;
H A DEngine.php89 protected $is_negative; variable in phpseclib3\\Math\\BigInteger\\Engines\\Engine
149 $this->is_negative = true;
152 $this->is_negative = false;
157 if ($this->is_negative) {
165 $this->is_negative = true;
171 $is_negative = false;
173 $this->is_negative = $is_negative = true;
180 if ($is_negative) {
199 $this->is_negative = true;
207 if ($temp->is_negative) {
[all …]
H A DPHP.php110 $this->is_negative = true;
158 $temp->is_negative = false;
177 if ($this->is_negative) {
537 $quotient->is_negative = $this->is_negative != $y->is_negative;
544 $x_sign = $x->is_negative;
545 $y_sign = $y->is_negative;
547 $x->is_negative = $y->is_negative = false;
554 $temp->is_negative = $x_sign != $y_sign;
665 $quotient->is_negative = $x_sign != $y_sign;
732 $result->is_negative = $arr[self::SIGN];
[all …]
H A DBCMath.php100 if ($this->is_negative) {
107 $this->value = $this->is_negative ? '-' . $temp->value : $temp->value;
108 $this->is_negative = false;
H A DGMP.php88 if ($this->is_negative) {
93 $temp = $this->is_negative ? '-0x' . $this->value : '0x' . $this->value;