Skip to content
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 8 commits into from
Oct 27, 2023

Commits on Oct 23, 2023

  1. TotalOrder trait for floating point numbers

    Define 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).
    andrewjradcliffe committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    2f00cfa View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Limit exposure

    andrewjradcliffe committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2a76a8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    621b1b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec24ea2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4c9435 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d664758 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    56210ef View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Configuration menu
    Copy the full SHA
    aeee038 View commit details
    Browse the repository at this point in the history