| ... | ... | @@ -1521,7 +1521,8 @@ fn divide(a: i32, b: i32) i32 { |
| 1521 | 1521 | Zig supports arbitrary bit-width integers, referenced by using |
| 1522 | 1522 | an identifier of <code>i</code> or <code>u</code> followed by digits. For example, the identifier |
| 1523 | 1523 | {#syntax#}i7{#endsyntax#} refers to a signed 7-bit integer. The maximum allowed bit-width of an |
| 1524 | | integer type is {#syntax#}65535{#endsyntax#}. |
| 1524 | integer type is {#syntax#}65535{#endsyntax#}. For signed integer types, Zig uses a |
| 1525 | <a href="https://en.wikipedia.org/wiki/Two's_complement">two's complement</a> representation. |
| 1525 | 1526 | </p> |
| 1526 | 1527 | {#see_also|Wrapping Operations#} |
| 1527 | 1528 | {#header_close#} |