mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Remove f128 equality implementation
This commit is contained in:
parent
594fe9124d
commit
cca4acf728
1 changed files with 5 additions and 3 deletions
|
@ -538,8 +538,8 @@ pub fn decode_low_level<'a>(
|
||||||
};
|
};
|
||||||
|
|
||||||
match format {
|
match format {
|
||||||
Float128 | Decimal => {
|
Decimal => {
|
||||||
// Check both args are finite AND bytes are identical
|
// Both args are finite
|
||||||
let first = [args[0]];
|
let first = [args[0]];
|
||||||
let second = [args[1]];
|
let second = [args[1]];
|
||||||
decode_low_level(
|
decode_low_level(
|
||||||
|
@ -557,11 +557,13 @@ pub fn decode_low_level<'a>(
|
||||||
ret_layout,
|
ret_layout,
|
||||||
);
|
);
|
||||||
code_builder.i32_and();
|
code_builder.i32_and();
|
||||||
|
|
||||||
|
// AND they have the same bytes
|
||||||
compare_bytes(code_builder);
|
compare_bytes(code_builder);
|
||||||
code_builder.i32_and();
|
code_builder.i32_and();
|
||||||
}
|
}
|
||||||
Int128 => compare_bytes(code_builder),
|
Int128 => compare_bytes(code_builder),
|
||||||
DataStructure => return NotImplemented,
|
Float128 | DataStructure => return NotImplemented,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue