Page MenuHomeFreeBSD

linuxkpi: Add gcd function
ClosedPublic

Authored by manu on Oct 5 2020, 1:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 12:20 PM
Unknown Object (File)
Mon, Sep 28, 7:05 AM
Unknown Object (File)
Aug 18 2026, 12:09 PM
Unknown Object (File)
Aug 17 2026, 12:21 PM
Unknown Object (File)
Aug 16 2026, 9:02 PM
Unknown Object (File)
Aug 16 2026, 8:24 PM
Unknown Object (File)
Aug 15 2026, 7:46 PM
Unknown Object (File)
Aug 14 2026, 6:36 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.