Skip to content

reduce(min, Vec) doesn't respect IEEE 754 #129

Closed
@Moelf

Description

julia> a = SIMD.Vec((1.0, 2.0, NaN, 0.5))
<4 x Float64>[1.0, 2.0, NaN, 0.5]

julia> reduce(min, a)
0.5

julia> reduce(min, [1.0, 2.0, NaN, 0.5])
NaN

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions