64 bit arithmetic soft fork

For comparison, crypto/muhash.h uses __int128_t conditionally.

Could maybe use uint64_t absval; bool negated; instead, with various manual checks to see if things end up out of bounds? Otherwise, just doing a bignum class might make sense (like arith_uint256).

1 Like