Files
zig/doc/langref
Jay Petacat fcf64761d0 Sema: Support peer type resolution for floats and small integers
This builds on the changes in PR #30053 / commit 484cc15366.

Previously, peer type resolution would always result in a conflict for
fixed-width integer and float types. Now that small integer types can
coerce to floats, peer type resolution can take that into account. This
primarily benefits arithmetic with mixed float and integer operands. If
the integer operand can coerce to the float operand's type, it will do
so without requiring an explicit cast. If the integer type can't coerce,
there will be a compiler error; no float widening will occur. Explicit
casting will still be required to make it work.
2026-03-11 11:31:58 -06:00
..
2025-07-16 10:27:40 -07:00
2024-05-05 09:42:51 -04:00
2025-07-14 17:34:52 +01:00
2024-05-05 09:42:51 -04:00
2024-05-05 09:42:51 -04:00
2026-01-04 00:27:08 -08:00
2024-05-05 09:42:51 -04:00
2025-07-16 10:27:40 -07:00
2024-05-05 09:42:51 -04:00
2024-05-05 09:42:51 -04:00
2024-05-05 09:42:51 -04:00
2025-11-22 22:42:38 +00:00
2024-05-05 09:42:51 -04:00
2024-05-05 09:42:51 -04:00
2024-05-05 09:42:51 -04:00
2026-01-04 00:27:08 -08:00