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

Implement ge and le for U128 #3221

Closed
mohammadfawaz opened this issue Oct 31, 2022 · 1 comment
Closed

Implement ge and le for U128 #3221

mohammadfawaz opened this issue Oct 31, 2022 · 1 comment
Labels
blocked lib: std Standard library

Comments

@mohammadfawaz
Copy link
Contributor

mohammadfawaz commented Oct 31, 2022

#3053 attempts to introduce ge and le. Sadly, to do this properly, we need to be able to write

impl core::ops::OrdEq for U128 {
    fn ge(self, other: Self) -> bool {
        ...
    }

    fn le(self, other: Self) -> bool {
        ...
    }
}

which doesn't work (yet) due to #1667

@mohammadfawaz mohammadfawaz moved this to Todo in Fuel Network Oct 31, 2022
@mohammadfawaz mohammadfawaz moved this from Todo to Blocked in Fuel Network Oct 31, 2022
@mohammadfawaz mohammadfawaz added the lib: std Standard library label Oct 31, 2022
@sezna sezna added the blocked label Dec 18, 2022
@sdankel sdankel removed this from Fuel Network Sep 5, 2023
@bitzoic
Copy link
Member

bitzoic commented Dec 3, 2024

Closed by #6048

@bitzoic bitzoic closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked lib: std Standard library
Projects
None yet
Development

No branches or pull requests

3 participants