Leading digits and quadmath
The Endeavour 2013-06-19
Summary:
My previous post looked at a problem that requires repeatedly finding the first digit of kn where k is a single digit but n may be on the order of millions or billions. The most direct approach would be to…