Logarithm of integers


I noticed that logarithm functions are implemented only for floating types and not i or u. Is there a reason or just an omission? I suppose I can just convert to a floating type and convert back, but that’s not ergonomic enough.


What would you like 3u32.log(2)? Floor? Ceiling? Truncated? Rounded?