-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TotalOrder
trait for floating point numbers
#295
Merged
Merged
Commits on Oct 23, 2023
-
TotalOrder
trait for floating point numbersDefine an orthogonal trait which corresponds to the `totalOrder` predicate the IEEE 754 (2008 revision) floating point standard. In order to maintain coherence, the bounds on `TotalOrder` should most likely be `TotalOrder: Float` (or `TotalOrder: FloatCore`). Without type constraints, `TotalOrder` could be defined on, well, anything. Though slightly ugly, one way to deal with this is to define two traits, `TotalOrderCore: FloatCore` and `TotalOrder: Float`. On the other hand, `Inv` has no such constraints (due to the possibility of a meaningful implementation on rational numbers).
Configuration menu - View commit details
-
Copy full SHA for 2f00cfa - Browse repository at this point
Copy the full SHA 2f00cfaView commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2a76a8d - Browse repository at this point
Copy the full SHA 2a76a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 621b1b7 - Browse repository at this point
Copy the full SHA 621b1b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec24ea2 - Browse repository at this point
Copy the full SHA ec24ea2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4c9435 - Browse repository at this point
Copy the full SHA a4c9435View commit details -
Configuration menu - View commit details
-
Copy full SHA for d664758 - Browse repository at this point
Copy the full SHA d664758View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56210ef - Browse repository at this point
Copy the full SHA 56210efView commit details
Commits on Oct 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for aeee038 - Browse repository at this point
Copy the full SHA aeee038View commit details
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.