Page MenuHomeFreeBSD

linuxkpi: Add gcd function
ClosedPublic

Authored by manu on Oct 5 2020, 1:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 24, 6:59 PM
Unknown Object (File)
Wed, Jan 15, 3:13 AM
Unknown Object (File)
Oct 18 2024, 6:45 AM
Unknown Object (File)
Oct 8 2024, 5:13 AM
Unknown Object (File)
Oct 5 2024, 12:21 PM
Unknown Object (File)
Oct 2 2024, 8:04 AM
Unknown Object (File)
Oct 1 2024, 4:29 AM
Unknown Object (File)
Sep 30 2024, 11:12 PM
Subscribers

Details

Reviewers
bz
imp
Group Reviewers
linuxkpi
Commits
rS366475: linuxkpi: Add gcd function
Summary

This compute the common greater divider
Taken from OpenBSD

Sponsored-by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.Oct 5 2020, 1:41 PM
This revision is now accepted and ready to land.Oct 5 2020, 9:17 PM

That's the canonical gcd algorithm, I think from Knuth's Art of Computer Programming

This revision was automatically updated to reflect the committed changes.