Functions§
- choose
- horner
- Evaluates a polynomial using Horner’s method.
- lsb_
index - computes the least-significant bit set.
- non_
zero_ lsb_ index - computes the least-significant bit set. Doesn’t return the correct answer if the input is zero
- prev_
power_ of_ two - calculate the largest power of 2 less or equal to n
- zigzag_
encode - Encodes a signed integer into an unsigned integer using zigzag encoding.