corner cases for Math.pow.
article: Math.pow corner cases.