Use significand terminology

As exercise 60 says: Donald Knuth would not be happy with us calling
this mantissa. Proposing to use the less amiguous term significand
This commit is contained in:
Filip Kubiš
2026-06-20 11:18:05 +02:00
parent 83a89702b2
commit 2cf2a885fd
+1 -1
View File
@@ -55,7 +55,7 @@ comptime {
const Float = packed union(u16) { const Float = packed union(u16) {
value: f16, value: f16,
bits: packed struct(u16) { bits: packed struct(u16) {
mantissa: u10, significand: u10,
exponent: u5, exponent: u5,
sign: u1, sign: u1,
}, },