Hi Rust Developers,

I’m in need of this bit-level operation:

  http://en.wikipedia.org/wiki/Find_first_set 
<http://en.wikipedia.org/wiki/Find_first_set>

I’m happy to implement it as a loop, but it seems like many architectures 
support it directly, as does libc.

Does anyone know if this is implemented in the Rust standard library or among 
the current primitives?

Searching for “ffs” in the source tree got me nowhere.

Thanks,
-Matt
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to