Skip to content
Snippets Groups Projects
Commit b1728c20 authored by 邱昊's avatar 邱昊 Committed by Shaopeng Wang
Browse files

add fixed u128 (#39)

* add fixed u128

* update fixed-u128

* fix: divide 0 will panic

* fix: will use u128::max_value() when try_into failued in div and mul functions

* test: add checked_div test

* rename: palette to frame

* update fixed-128

* remove add/sub/mul/div operator

* add overflow/underflow tests
parent 7daf41b3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment