Remove f128 equality implementation

This commit is contained in:
Brian Carroll 2021-12-13 22:09:13 +00:00
parent 594fe9124d
commit cca4acf728

View file

@ -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,
} }
} }
} }