Skip to content

Commit

Permalink
int arith fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Wuerker committed May 20, 2024
1 parent 733bb32 commit 6f3a9ae
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 270 deletions.
4 changes: 2 additions & 2 deletions crates/library2/std/src/num/int/extend.fe
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extern {
}

pub trait Extend<Out> {
fn extend(self) -> Out
fn extend(self) -> Out
}

impl Extend<u16> for u8 { fn extend(self) -> u16 { u8_u16_extend(self) } }
Expand Down Expand Up @@ -66,4 +66,4 @@ impl Extend<i128> for i32 { fn extend(self) -> i128 { i32_i128_extend(self) } }
impl Extend<i256> for i32 { fn extend(self) -> i256 { i32_i256_extend(self) } }
impl Extend<i128> for i64 { fn extend(self) -> i128 { i64_i128_extend(self) } }
impl Extend<i256> for i64 { fn extend(self) -> i256 { i64_i256_extend(self) } }
impl Extend<i256> for i128 { fn extend(self) -> i256 { i128_i256_extend(self) } }
impl Extend<i256> for i128 { fn extend(self) -> i256 { i128_i256_extend(self) } }
Loading

0 comments on commit 6f3a9ae

Please sign in to comment.