[Issue 12557] std.numeric.gcd documentation reports Euler's algorithm, but it uses Euclid's algorithm
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 10 23:52:36 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12557
--- Comment #1 from Bert van Leeuwen <bert at e.co.za> ---
Of purely academical interest: Euler's formula is "somewhat" more complicated
than Euclid's: http://en.wikipedia.org/wiki/Euler's_formula (and has a
completely different goal).
Also, Euler trod this earth about 2000 years after Euclid.
--
More information about the Digitalmars-d-bugs
mailing list