Skip to content

WideBoolF32x4::all() returns false when it should return true. #72

@bluecube

Description

@bluecube

Observed on simba 0.9.0, but I think current master will be the same (no changes in the function)
M(n)WE:
assert!(WideBoolF32x4::splat(true).all());

I think this happens because true converts to Nan and comparison between NaNs always returns false

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