Skip to content

Support different number syntaxes #184

@fredrik-johansson

Description

@fredrik-johansson
These should work:

'oo' and '-oo' for infinity

'Inf', 'INF', 'NaN', etc

'2+3*I' or '2+4I' (SymPy and Mathematica style imaginary unit)

'2/3 + 4/5j' (rational parts for a complex number)

Original issue for #184: http://code.google.com/p/mpmath/issues/detail?id=144
Original author: https://code.google.com/u/111502149103757882156/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnew feature requests (or implementation)imported

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions