Data Types
The Boolean Type
As in most other programming languages, a Boolean type in Silicon has two possible values: true
and false
. Booleans are one bit in size. The Boolean type in Silicon is specified using bool
.
Integer Types
Length
Signed
8-bit
i8
16-bit
i16
32-bit
i32
64-bit
i64
128-bit
i128
Floating-Point Types
Length
Type
16-bit
f16
32-bit
f32
64-bit
f64
Last updated