My fix causes -1 to be identified as a non-power. (That's not hard to fix, but I'll run some tests before I post an updated patch.) -- Torbjörn