Add longs, returning Long.Max value if there was any long overflow.
Add longs, returning Long.Max value if there was any long overflow. This version of addExact is used in Ergo node.
Add longs, returning Long.Max value if there was any long overflow.
Add longs, returning Long.Max value if there was any long overflow. This version of addExact is used in Ergo node.
Multiply longs, returning Long.Max value if there was any long overflow.
Multiply longs, returning Long.Max value if there was any long overflow. This version of multiplyExact is used in Ergo node.
Utils used in Ergo node (moved here from ergo-wallet).