Memoized powers of two for bitwise ops (all except for NOT).