mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Correct f64 -> u128/i128 generation
This commit is contained in:
@@ -1194,7 +1194,7 @@ lbValue lb_emit_conv(lbProcedure *p, lbValue value, Type *t) {
|
||||
res = lb_emit_conv(p, value, platform_src_type);
|
||||
res = lb_emit_conv(p, res, platform_dst_type);
|
||||
if (is_type_different_to_arch_endianness(dst)) {
|
||||
res = lb_emit_byte_swap(p, res, t);
|
||||
res = lb_emit_byte_swap(p, res, platform_dst_type);
|
||||
}
|
||||
return lb_emit_conv(p, res, t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user