Cody Tapscott 70dc910086 std.math: Add O(log N) implementation of log2(x) for comptime_int
Since Zig provides @clz and not @ffs (find-first-set), log2 for comptime
integers needs to be computed algorithmically. To avoid hitting the
backward branch quota, this updates log2(x) to use a simple O(log N)
algorithm.
2022-06-07 20:07:40 -04:00
..
2022-02-13 17:16:22 +02:00
2022-05-13 16:43:59 -04:00
2022-05-26 21:58:19 -07:00