Lokathor / wide

A crate to help you go wide. By which I mean use SIMD stuff.
https://docs.rs/wide
zlib License
279 stars 23 forks source link

How to check f32xN for NaN? #70

Closed RazrFalcon closed 3 years ago

RazrFalcon commented 3 years ago

There is is_nan(), but it returns Self and I'm looking for bool. Something like all_true.

Lokathor commented 3 years ago

You'd probably want floats.is_nan().any()

RazrFalcon commented 3 years ago

Yes, that's the one.