3 releases

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

#1856 in Math

Download history 67/week @ 2024-07-22 75/week @ 2024-07-29 104/week @ 2024-08-05 65/week @ 2024-08-12 154/week @ 2024-08-19 41/week @ 2024-08-26 29/week @ 2024-09-02 5/week @ 2024-09-09 4/week @ 2024-09-16 21/week @ 2024-09-23 4/week @ 2024-09-30 27/week @ 2024-10-07 47/week @ 2024-10-14 69/week @ 2024-10-21 46/week @ 2024-10-28 40/week @ 2024-11-04

202 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