Last updated 4 years ago
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.
true
false
bool
Length
Signed
8-bit
i8
16-bit
i16
32-bit
i32
64-bit
i64
128-bit
i128
Type
f16
f32
f64