Skip to content

In a42 the almost_equal test is probably wrong #99

Open
@ikirill

Description

@ikirill

I mean this test:

cc03ba6#diff-9471aab4b037f803f311ca8d2d35fe8fR558

It potentially uses the wrong type (Float64, which is not necessarily the type it's working with), and also it seems to use realmin in place of eps, where eps is the appropriate value.

I want to change it to

abs(x - y) < 32 * max(eps(x), eps(y))

which is probably what was intended anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions