Added zero to exponent checking.