Skip to content

Commit

Permalink
Add documentation for max/min (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid authored Nov 2, 2019
1 parent 79dccc4 commit c85251f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ either `le` (little-endian) or `be` (big-endian).
* `a.toTwos(width)` - convert to two's complement representation, where `width` is bit width
* `a.fromTwos(width)` - convert from two's complement representation, where `width` is the bit width
* `BN.isBN(object)` - returns true if the supplied `object` is a BN.js instance
* `BN.max(a, b)` - return `a` if `a` bigger than `b`
* `BN.min(a, b)` - return `a` if `a` less than `b`

### Arithmetics

Expand Down

0 comments on commit c85251f

Please sign in to comment.