CodeChain-io/codechain-primitives-js

Add plus()/minus() functions to U256

Closed this issue · 1 comments

class U256 {
  ...
  public plus(U256): U256 // throws when overflow
  public minus(U256): U256 // throws when underflow
  ..
}

Landed at: ee6a268