rust-ux / uX

Non standard integer types like `u7`, `u9`, `u10`, `u63`, `i7`, `i9`
Apache License 2.0
121 stars 37 forks source link

Implement trailing_zeros method #80

Open N1ckn1ght opened 1 month ago

N1ckn1ght commented 1 month ago

Should return the number of trailing zeros in the binary representation of self.

...probably should be okay if implemented through conversion?

N1ckn1ght commented 1 month ago

I'm trying to figure out if whether I can do a simple pop_bit function with these.

Capture

2