mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
AK+LibAudio: Remove UFixedBigInt::my_size
This commit is contained in:
parent
11a7e21c2a
commit
882dcfaddb
Notes:
sideshowbarker
2024-07-17 02:38:39 +09:00
Author: https://github.com/DanShaders
Commit: 882dcfaddb
Pull-request: https://github.com/SerenityOS/serenity/pull/17721
Reviewed-by: https://github.com/gmta ✅
3 changed files with 3 additions and 11 deletions
|
@ -434,8 +434,7 @@ constexpr static u128 compute_power_of_five(i64 exponent)
|
|||
base *= 5u;
|
||||
}
|
||||
|
||||
auto z = u4096::my_size() * 8
|
||||
- base.clz();
|
||||
auto z = 4096 - base.clz();
|
||||
|
||||
auto b = z + 127;
|
||||
u4096 base2 { 1u };
|
||||
|
@ -457,8 +456,7 @@ constexpr static u128 compute_power_of_five(i64 exponent)
|
|||
base *= 5u;
|
||||
}
|
||||
|
||||
auto z = u4096::my_size() * 8
|
||||
- base.clz();
|
||||
auto z = 4096 - base.clz();
|
||||
|
||||
auto b = 2 * z + 128;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue