Page MenuHomeFreeBSD

linuxkpi: Add gcd function
ClosedPublic

Authored by manu on Oct 5 2020, 1:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 5, 11:15 PM
Unknown Object (File)
Wed, Nov 5, 9:42 PM
Unknown Object (File)
Tue, Nov 4, 3:18 PM
Unknown Object (File)
Sun, Nov 2, 6:39 PM
Unknown Object (File)
Tue, Oct 28, 1:52 AM
Unknown Object (File)
Mon, Oct 27, 7:40 PM
Unknown Object (File)
Fri, Oct 24, 3:18 AM
Unknown Object (File)
Sun, Oct 19, 8: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.