3 releases

0.1.2 Feb 16, 2020
0.1.1 Feb 4, 2020
0.1.0 Feb 4, 2020

#1695 in Math

Download history 61/week @ 2024-04-07 117/week @ 2024-04-14 84/week @ 2024-04-21 55/week @ 2024-04-28 37/week @ 2024-05-05 11/week @ 2024-05-12 10/week @ 2024-05-19 46/week @ 2024-05-26 23/week @ 2024-06-02 20/week @ 2024-06-09 15/week @ 2024-06-16 6/week @ 2024-06-23 24/week @ 2024-07-07 56/week @ 2024-07-14 68/week @ 2024-07-21

148 downloads per month
Used in pinvec

Custom license

12KB
308 lines

pow_of_2

Integer-like types which can only represent powers of 2. Internally, they are stored as a one-byte exponent. This allows them to implement arithmetic operators with other, simpler artithmetic operators.


lib.rs:

pow_of_2

Integer-like types which can only represent powers of 2. Internally, they are stored as a one-byte exponent. This allows them to implement arithmetic operators with other, simpler artithmetic operators.

No runtime deps