Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 ">

gmp_gcdext

(PHP 4 >= 4.0.4)

gmp_gcdext -- PGCD étendu

Description

array gmp_gcdext ( resource a, resource b)

gmp_gcdext() calcule les entiers g, s, et t, tels que a*s + b*t = g = gcd(a,b), où gcd est le pgcd de a et b. La fonction retourne un tableau avec les éléments g, s et t.