Numeric operations with overflow checks.
Raise exception when overflow is detected.
Each instance of this typeclass overrides three methods plus, minus, times.
All other methods are implemented by delegating to the corresponding Numeric instance from
standard Scala library.
This trait is used in core IR to avoid implicitly using standard scala implementations
Numeric operations with overflow checks. Raise exception when overflow is detected. Each instance of this typeclass overrides three methods
plus
,minus
,times
. All other methods are implemented by delegating to the corresponding Numeric instance from standard Scala library. This trait is used in core IR to avoid implicitly using standard scala implementations