Searched refs:gcd (Results 1 – 7 of 7) sorted by relevance
342 $gcd = $extended['gcd'];346 'gcd' => new static($gcd),360 public function gcd(BigInteger $n) function in phpseclib3\\Math\\BigInteger362 return new static($this->value->gcd($n->value));
377 $lcm['bottom'] = $lcm['bottom'] === false ? $temp : $lcm['bottom']->gcd($temp);381 $gcd = $temp->gcd($e);383 } while (!$gcd->equals(self::$one));
303 public function gcd(BCMath $n) function in phpseclib3\\Math\\BigInteger\\Engines\\BCMath305 $gcd = $this->extendedGCD($n)['gcd'];306 return $gcd;
196 public function gcd(PHP64 $n) function in phpseclib3\\Math\\BigInteger\\Engines\\PHP64
195 public function gcd(PHP32 $n) function in phpseclib3\\Math\\BigInteger\\Engines\\PHP32
319 public function gcd(GMP $n) function in phpseclib3\\Math\\BigInteger\\Engines\\GMP
320 $gcd = $extended['gcd'];323 if (!$gcd->equals(static::$one[static::class])) {