mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 02:40:41 -04:00
Correct f64 -> u128/i128 generation
This commit is contained in:
1 parent
ebc09d5e4e
commit
fa0d58f96e
4 files changed
+19
-1
No files matched your search
@@ -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