summaryrefslogtreecommitdiff
path: root/Unlike integers floats do not have an architecture dependent size.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-03 22:29:47 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-03 22:29:47 +0200
commit931eb0894e7cd3717f1218f0eb06382b11734c13 (patch)
treeb6ad9b0d98a8f26e496c91ad3f24d1c855b654df /Unlike integers floats do not have an architecture dependent size.md
parentaf98004d2cf437603f47f4224110a80d76d0d7de (diff)
vault backup: 2025-08-03 22:29:47
Diffstat (limited to 'Unlike integers floats do not have an architecture dependent size.md')
-rw-r--r--Unlike integers floats do not have an architecture dependent size.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/Unlike integers floats do not have an architecture dependent size.md b/Unlike integers floats do not have an architecture dependent size.md
new file mode 100644
index 0000000..f6b962f
--- /dev/null
+++ b/Unlike integers floats do not have an architecture dependent size.md
@@ -0,0 +1,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. \ No newline at end of file