Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

"Implement FixedPoint trait" and "Enable fixed point u128" #144

Merged
merged 3 commits into from
Oct 1, 2020

Commits on Sep 30, 2020

  1. Implement FixedPoint trait. (#5877)

    * 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: Gavin Wood <gavin@parity.io>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    Commit:
    c5280a6 [c5280a6]
    Parents:
    d047cb3
    Author:
    Marcio Diaz <marcio.diaz@gmail.com>
    Date:
    22 May 2020 at 5:32:44 AM NZST
    Committer:
    AlexSedNZ <alex.sedighi@centrality.ai>
    Commit Date:
    29 September 2020 at 2:12:51 PM NZDT
    Labels:
    origin/fix/141-weight-multiplier
    GPG Details:
    [GOOD] Alex Sedighi
    AlexSedNZ committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    e044602 View commit details
    Browse the repository at this point in the history
  2. Bring Substrate's commit "Enable fixed point u128 (#6214)"

    athei authored and AlexSedNZ committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    9cbb277 View commit details
    Browse the repository at this point in the history
  3. Ignore fragile tests

    AlexSedNZ committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    c0f1764 View commit details
    Browse the repository at this point in the history