Previous Page
_bc_bindec()

Solar_Auth_Adapter_Typekey
_bc_exgcd()

Next Page
_bc_hexdec()

_bc_exgcd()

protected array _bc_exgcd ( string $x, string $y )

Finds the extended greatest-common-denominator of two values using bcmath functions.

Parameters

  • (string) $x: First value.
  • (string) $y: Second value.

Returns

  • (array) Extended GCD of $x and $y.

Description

Finds the extended greatest-common-denominator of two values using bcmath functions.