Saturated arithmetic routines. XXX Make part of the stdlib?
proc `|*|`(a, b: BiggestInt): BiggestInt {....raises: [], tags: [].}
-
Source
Edit
proc `|+|`(a, b: BiggestInt): BiggestInt {....raises: [], tags: [].}
-
saturated addition.
Source
Edit
proc `|-|`(a, b: BiggestInt): BiggestInt {....raises: [], tags: [].}
-
Source
Edit