mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibCrypto: Add Formatter<SignedBigInteger>
Useful for seeing SignedBigInteger values in test failure messages.
This commit is contained in:
parent
b87e517deb
commit
ec37eadb39
2 changed files with 12 additions and 0 deletions
|
@ -143,6 +143,11 @@ struct SignedDivisionResult {
|
|||
|
||||
}
|
||||
|
||||
template<>
|
||||
struct AK::Formatter<Crypto::SignedBigInteger> : AK::Formatter<Crypto::UnsignedBigInteger> {
|
||||
ErrorOr<void> format(FormatBuilder&, Crypto::SignedBigInteger const&);
|
||||
};
|
||||
|
||||
inline Crypto::SignedBigInteger
|
||||
operator""_sbigint(const char* string, size_t length)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue