Richard Smith
246ec785df
Add support for converting between integer types ( #4753 )
...
Add a builtin `"int.convert"` supporting unchecked conversions between
different integer types. This performs a truncation, zero-extension, or
sign-extension, depending on the widths of the operands and the
signedness of the source type. Add explicit `As` support to the prelude.
No implicit conversions are supported yet as we don't have a way to
express the constraint that we can only implicitly convert to wider
types.
2025-01-08 08:25:20 +00:00
..
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2024-12-18 00:19:12 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2024-12-03 20:47:53 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-19 21:41:06 +00:00
2025-01-07 20:41:44 +00:00
2024-12-03 20:47:53 +00:00
2025-01-07 20:41:44 +00:00
2024-12-03 20:47:53 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-08 08:25:20 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2024-12-03 20:47:53 +00:00
2024-12-20 16:12:06 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00
2025-01-07 20:41:44 +00:00