mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +00:00
Added an expository TODO.
This commit is contained in:
parent
1bbb4cb478
commit
31b4f8fa31
@ -16,6 +16,7 @@ namespace NumberTheory {
|
||||
@returns The greatest common divisor of @c a and @c b as computed by Euclid's algorithm.
|
||||
*/
|
||||
template<class T> T greatest_common_divisor(T a, T b) {
|
||||
// TODO: replace with the C++17 GCD function, once available.
|
||||
if(a < b) {
|
||||
std::swap(a, b);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user