I know there is a term for a number that is the power of 2, such as 8, 32, 128, 4096 -- but it slipped my mind.
A "power of two" seems like a good name.
Although 'exponent' has been suggested, it is not correct
The relationship is quite simple, though:
3 is the exponent which generates the power of two 8 (23 = 8)
12 is the exponent which generates the power of two 4096 (212 = 4096)
In programming, especially graphics programming (textures), powers of two are sometimes referred to as POT, and non-powers of two as NPOT.
But obviously the word "pot" has strong connotations, and so this term can be used only in such a context unambiguously. Anywhere else, "power of two" is a much better choice.
protected by ab2 Oct 22 '17 at 19:14
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?