Skip to content

nstr(mpf('inf')) prints '+inf' (should be 'inf') #827

Description

@skirpichev

While for finite numbers positive sign - ignored. This also inconsistent across contexts:

>>> nstr(mp.mpf('inf'))
'+inf'
>>> nstr(fp.mpf('inf'))
'inf'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions