Moody_Nabil's blog

By Moody_Nabil, history, 7 weeks ago, In English

You can use this function to make GCD __gcd(a,b)

but you must define the algorithm library

 
 
 
 
  • Vote: I like it
  • -23
  • Vote: I do not like it

»
7 weeks ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

thank you for such an astounding discovery :D

also, std::gcd() and std::lcm() are available as parts of the standard C++17, while std::__gcd() was only available on GNU GCC