Function ADS::ahmes
Defined in File BinaryInteger.h
Function Documentation
-
inline std::uint64_t ADS::ahmes(std::uint64_t a, std::uint64_t b, long *steps = nullptr)
the multiplication of Ahmes, in *steps the halvings, if given
- Post:
the result is a b modulo 2^64