Skip to content

Commit 705b45d

Browse files
committed
feat: update README.md
1 parent f275367 commit 705b45d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This project is a fork of [lukechampine/uint128](https://github.com/lukechampine
1010
- Add `AddOverflow`, `Add64Overflow`, `SubOverflow`, `Sub64Overflow`, `MulOverflow`, `Mul64Overflow` functions which returns additional boolean indicating whether the operation overflowed. The original functions now ignores overflow instead of panicking.
1111
- Change `FromBig` function behaviour to return errors instead of panicking.
1212
2. Add conversion functions `Uint64()`, `Uint32()`, `Uint16()`, `Uint8()` to convert `Uint128` to native types.
13+
3. Add functions `IsUint64()`, `IsUint32()`, `IsUint16()`, `IsUint8()` to check if `Uint128` can be converted to native types without overflow.
1314

1415
`uint128` provides a high-performance `Uint128` type that supports standard arithmetic
1516
operations. Unlike `math/big`, operations on `Uint128` values always produce new values

0 commit comments

Comments
 (0)