Sebastian Dröge 8b0ae3ba87 clock: Fix calculation for number of bits needed to store a 64 bit value
It was using log2(n) but what actually is needed is log2(n) + 1. Also add a
fast-path that uses __builtin_clzll() on gcc/clang.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7406>
2024-08-29 10:55:35 +00:00
..
2024-08-27 13:38:37 +02:00
2024-03-05 12:58:57 +00:00
2024-03-23 13:08:15 +00:00
2024-03-05 12:58:57 +00:00
2024-08-17 15:00:11 +05:30
2024-06-13 04:48:56 +00:00
2024-05-11 15:54:54 +00:00
2024-06-22 12:26:22 +01:00
2024-08-17 15:00:11 +05:30
2024-05-02 13:26:09 +02:00
2024-08-14 04:34:27 +00:00
2024-03-23 13:08:15 +00:00