Skip to content
Snippets Groups Projects
  • 邱昊's avatar
    b1728c20
    add fixed u128 (#39) · b1728c20
    邱昊 authored
    * 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
    b1728c20
    History
    add fixed u128 (#39)
    邱昊 authored
    * 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