Feature request: Add a `bit_width` function to NumPy's [bit-wise 
operations](https://numpy.org/doc/stable/reference/routines.bitwise.html) that 
computes the [bit-width](https://en.wikipedia.org/wiki/Bit-width) (also called 
bit-length) of an input.

For an example, see C++'s 
[`bit_width`](https://en.cppreference.com/w/cpp/numeric/bit_width) function.
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to