binary algorithm to compute powers of integers efficiently see Knuth, TAOCP, Vol 2, 463 uses if appropiate lookup table from struct model
binary algorithm to compute powers of integers efficiently see Knuth, TAOCP, Vol 2, 463 uses if appropiate lookup table from struct model