mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #1238] [MERGED] feat: added extended Euclidean algorithm #1832
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1238
Author: @dsmurrow
Created: 3/25/2023
Status: ✅ Merged
Merged: 4/13/2023
Merged by: @Panquesito7
Base:
master← Head:euclid📝 Commits (10+)
01072ccchore: made it so math directory gets built3eff6c3Merge branch 'master' into euclid805b344feat: added extended Euclidean algorithm58a89e1Merge branch 'master' into euclid09853ccMerge branch 'TheAlgorithms:master' into euclidbe8fe9fdocs: added details qualifier45261dadocs: added param qualifiers to functions that needed them690f10eMerge branch 'euclid' of https://github.com/dsmurrow/TheAlgorithms_C into euclid327291adocs: added details qualifier9661ab9Merge branch 'TheAlgorithms:master' into euclid📊 Changes
1 file changed (+154 additions, -0 deletions)
View changed files
➕
math/euclidean_algorithm_extended.c(+154 -0)📄 Description
Description of Change
euclidean_algorithm_extended.c is implemented and lives in the math subdirectory.
In addition to finding the greatest common divisor of integers a and b, this algorithm will find values x and y such that
ax+by=gcd(a,b).Checklist
Notes: added extended Euclidean algorithm
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.