This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Implement FixedPoint trait. #5877
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
2416411
Implement Fixed trait.
seerscode 0c0c1da
Merge branch 'master' into md-fixed-point
seerscode aa5d54d
Fix tests
seerscode 854e24b
Fix tests
seerscode 1b0bf3d
Fix tests 2
seerscode 087bca8
Address review comment regarding from_i129.
seerscode 45b625a
Remove precision by using log10() as suggested in review.
seerscode 7868978
Add small comments.
seerscode 14e1fac
Use checked versions + panic for ops::*.
seerscode 2133c2f
Remove repeated test.
seerscode 6c34aba
Uncomment test.
seerscode 9c93490
Remove casts.
seerscode 091991c
Add more comments.
seerscode 9ed7371
Add tests.
seerscode 838b97e
Panic on saturating_div_int
seerscode 86408cd
More tests.
seerscode 5819666
More docs.
seerscode b1647ec
Saturating renames.
seerscode 698a452
Fix to_bound doc.
seerscode 75d5756
Move some impl to trait.
seerscode a119bfa
Add range
seerscode 993e821
Add macro pre.
seerscode d742b5e
More round() tests.
seerscode 514c76b
Delete confusion.
seerscode 0f05701
Merge branch 'master' into md-fixed-point
seerscode c0deb6c
More impl to trait
seerscode c39cd72
Add doc for fixedpoint op.
seerscode e4a4bac
Remove trailing spaces.
seerscode caebcad
Suggested docs changes.
seerscode 881a8e0
More tests and comments for roundings.
seerscode 50856ea
Some quickcheck tests.
seerscode afd0e2e
Add missing panic, more test/comments.
seerscode 917fa0d
Merge branch 'master' into md-fixed-point
seerscode 19460a7
Nits.
seerscode a6f4fd2
Rename.
seerscode fd8f6c0
Remove primitives-types import.
seerscode 3054ba2
Merge branch 'master' into md-fixed-point
seerscode e730534
Apply review suggestions
seerscode 9b4369c
Fix long lines and add some fuzz.
seerscode cb9b29e
fix long line
seerscode 2907c24
Update fuzzer
seerscode bfa811f
Merge branch 'master' into md-fixed-point
seerscode 66eb8d0
Bump impl
seerscode 0ef1888
Merge branch 'master' into md-fixed-point
gavofyork b5543d1
fix warnings
shawntabrizi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.