Closed greg7mdp closed 2 years ago
Never mind, I think I understand why it is more practical to do it your way.
We really want to use umul
instruction which does 64x64 → 128 multiplication. The way to get it on GCC and Clang is to use __int128
type. On MSVC there is the intrinsic.
Hi Pawel, instead of having
#if INTX_HAS_BUILTIN_INT128
in multiple APIs, why not just do: