summaryrefslogtreecommitdiff
path: root/Unlike integers floats do not have an architecture dependent size.md
blob: f6b962ff753199b84f97acc82df6b0108e4fc17f (plain)
1
2
3
4
5
[[Rust]]

Integers come in many sizes with the smallest being 8-bit and the largest 128-bit. However there is also `usize or isize` which specifies that the size is dependent on the CPU architecture.

In contrast, floating points only have two sizes: f32 and f64. There is no fsize.