https://issues.dlang.org/show_bug.cgi?id=23746

--- Comment #2 from kinke <[email protected]> ---
(In reply to Iain Buclaw from comment #1)
> The result of a comparison is either all bits are zeros or ones.  For
> floats, that's `0` or `nan`.

The only usage of the new vector masks, at least that I can think of, are
masking operations via bitwise ops. What the bit pattern represents for a
specific vector element type plays no role whatsoever.

> >        return (min & ltMask)
> You can't use bitwise operations on scalar floats, why would you expect it
> to be valid on vector floats?

Because then we don't need vector masks and elaborate vector comparisons in the
first place, a library solution would do.

--

Reply via email to