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

Add __divtf3 #622

Merged
merged 5 commits into from
Sep 24, 2024
Merged

Add __divtf3 #622

merged 5 commits into from
Sep 24, 2024

Commits on Sep 24, 2024

  1. Add Shr to u256

    Float division requires some shift operations on big integers; implement
    right shift here.
    tgross35 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    02d5e44 View commit details
    Browse the repository at this point in the history
  2. Update bounds and docs for the Float trait

    Add some bounds to integer types that allow our function trait bounds to
    be slightly less verbose. Also clarify documentation and remove a
    redundant operation.
    tgross35 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    accd88f View commit details
    Browse the repository at this point in the history
  3. Make float division generic

    Float division currently has a separate `div32` and `div64` for `f32`
    and `f64`, respectively. Combine these to make use of generics. This
    will make it easier to support `f128` division, and reduces a lot of
    redundant code.
    
    This includes a simplification of division tests.
    tgross35 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8990af8 View commit details
    Browse the repository at this point in the history
  4. Add f128 division

    Use the new generic division algorithm to expose `__divtf3` and
    `__divkf3`.
    tgross35 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    910e92f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c153cf View commit details
    Browse the repository at this point in the history