Files
ladybird/Userland/Libraries/LibJS
Linus Groh 61410e05eb LibJS: Add modulo(x, y) overload for Crypto::{Unsigned,Signed}BigInteger
Just like with integral and floating numbers, doing it manually is
error-prone: when we get a negative remainder, y has to be added to the
result to match the spec's modulo.
Solve this by just adding another (templated) overload to also permit
using the function for LibCrypto BigInts.
2021-12-22 11:27:31 +01:00
..
2021-12-16 22:48:17 +01:00
2021-12-16 22:48:17 +01:00