New Mathematical Functions

With C++17 we get lots of new mathematical functions like gcd, lcm, clamp and other special ones.

We'll cover the following

gcd and lcm #

std::gcd and std::lcm, introduced in P0295R0, are declared in <numeric> header:​

Get hands-on with 1200+ tech skills courses.