summaryrefslogtreecommitdiff
path: root/AK/UFixedBigInt.h
AgeCommit message (Collapse)Author
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-27AK: Remove unused String.h include from UFixedBigInt.hLinus Groh
This makes it usable in the Kernel. :^)
2022-03-18AK: Add constant time equality and zero check to UFixedBigIntMichiel Visser
2022-03-18AK: UFixedBigInt add efficient multiplication with full resultMichiel Visser
2022-01-04AK: Fix UFixedBigInt comparison operatorsB0IIZZ
Instead of using the specified type U like we want, we were using the type T all along when comparing with smaller integers. This is now fixed.
2021-12-21AK+Everywhere: Replace __builtin bit functionsNick Johnson
In order to reduce our reliance on __builtin_{ffs, clz, ctz, popcount}, this commit removes all calls to these functions and replaces them with the equivalent functions in AK/BuiltinWrappers.h.
2021-11-17AK: Convert AK::Format formatting helpers to returning ErrorOr<void>Andreas Kling
This isn't a complete conversion to ErrorOr<void>, but a good chunk. The end goal here is to propagate buffer allocation failures to the caller, and allow the use of TRY() with formatting functions.
2021-10-01AK: Fix typosNico Weber
2021-07-08AK: Fix `UFixedBigInt` not building with ClangDaniel Bertalan
Clang does not like that we are trying to refer to our own size while our declaration is not yet complete, and fails to compile this file. This is fixed by introducing a function which returns the correct sizeof. This only gets evaluated in the `requires` clause after the whole class has been parsed, so it will compile fine.
2021-06-11AK+LibX86: Generalize u128/256 to AK::UFixedBigIntHendiadyoin1
Doing these as custom classes might be faster, especially when writing them in SSE, but this would cause a lot of Code duplication and due to the nature of constexprs and the intelligence of the compiler they might be using SSE/MMX either way