Skip to content

Fuzzing test failure with TwicePrecision in test/ranges.jl  #23497

Open
@mbauman

Description

@mbauman

This fuzzing loop seems to sometimes find failures.

Found in the wild in https://julia.iblis.cnmc.tw/#/builders/1/builds/1617/steps/6/logs/stdio, reproduced locally by increasing the number of iterations.

Here are the magic numbers:

x, y = Base.TwicePrecision{Float32}(0.5767872f0, 1.9906205f-8), Base.TwicePrecision{Float32}(0.2913009f0, 1.4812992f-8)
xw, yw = asww(x), asww(y)
T = Float32
Tw = widen(T)
slopbits = 5

julia> cmp_sn2(Tw(xw/yw), astuple(x/y)..., slopbits)
false

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integrationrangesEverything AbstractRange

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions