Arlen: > Yes, std.math.abs and std.numeric.gcd are very easy to > implement for BigInt, Don doesn't agree regarding the gcd. To compute the gcd efficiently on large numbers you need not easy algorithms. See: http://d.puremagic.com/issues/show_bug.cgi?id=7102 Bye, bearophile