Added imaginary, repeating, etc. number support.