Skip to content

Power PC long double repr needs more precision. #7940

Closed
@charris

Description

@charris

On PPC this test fails as reported in #7836

    o = 1 + np.finfo(np.longdouble).eps
    assert_equal(np.longdouble(repr(o)), o,
                 "repr was %s" % repr(o))

with


AssertionError:
Items are not equal: repr was 1.0
 ACTUAL: 1.0
 DESIRED: 1.0

Among other things, probably finfo, it looks like repr does not have sufficient digits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions