Skip to content
  • Marcio Diaz's avatar
    Implement FixedPoint trait. (#5877) · 72386f60
    Marcio Diaz authored
    
    
    * Implement Fixed trait.
    
    * Fix tests
    
    * Fix tests
    
    * Fix tests 2
    
    * Address review comment regarding from_i129.
    
    * Remove precision by using log10() as suggested in review.
    
    * Add small comments.
    
    * Use checked versions + panic for ops::*.
    
    * Remove repeated test.
    
    * Uncomment test.
    
    * Remove casts.
    
    * Add more comments.
    
    * Add tests.
    
    * Panic on saturating_div_int
    
    * More tests.
    
    * More docs.
    
    * Saturating renames.
    
    * Fix to_bound doc.
    
    * Move some impl to trait.
    
    * Add range
    
    * Add macro pre.
    
    * More round() tests.
    
    * Delete confusion.
    
    * More impl to trait
    
    * Add doc for fixedpoint op.
    
    * Remove trailing spaces.
    
    * Suggested docs changes.
    
    * More tests and comments for roundings.
    
    * Some quickcheck tests.
    
    * Add missing panic, more test/comments.
    
    * Nits.
    
    * Rename.
    
    * Remove primitives-types import.
    
    * Apply review suggestions
    
    * Fix long lines and add some fuzz.
    
    * fix long line
    
    * Update fuzzer
    
    * Bump impl
    
    * fix warnings
    
    Co-authored-by: default avatarGavin Wood <[email protected]>
    Co-authored-by: default avatarShawn Tabrizi <[email protected]>
    72386f60