Skip to content

Incompatible (wrt CPython) formatting for format(mpmath.mpf(9.995074823339339e-05), '.0g') #880

Description

@skirpichev
>>> format(9.995074823339339e-05, '.0g')
'0.0001'
>>> format(mpmath.mpf(9.995074823339339e-05), '.0g')
'1e-04'

see https://github.com/mpmath/mpmath/actions/runs/11398339589/job/31715210493

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