mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
description specified
This commit is contained in:
parent
00e6ad1f98
commit
2ca76b8388
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ pub fn main() void {
|
||||||
// values. Therefore, it follows that we just specify numeric
|
// values. Therefore, it follows that we just specify numeric
|
||||||
// types with specific sizes. The comptime numbers will be
|
// types with specific sizes. The comptime numbers will be
|
||||||
// coerced (if they'll fit!) into your chosen runtime types.
|
// coerced (if they'll fit!) into your chosen runtime types.
|
||||||
|
// For this it is necessary to specify a size, e.g. 32 bit.
|
||||||
var var_int = 12345;
|
var var_int = 12345;
|
||||||
var var_float = 987.654;
|
var var_float = 987.654;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue