150
pretty small subtotal.
(thelemmy.club)
A community for posting software malfunctions
Deliberately bad software or bad design is not software gore, it must be something unintentional
Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it
No you're fundamentally misunderstanding what's going on. Float isn't "storing 40.01 but imprecisely". That's like saying an integer "stores 1.1 but imprecisely". Floating point can't represent the number 40.01. But that doesn't matter because 4.0009999999999998 is easily accurate enough for any real world use.
This was caused by converting an
f64toi16which caused an overflow and hardware exception. Irrelevant.Hardware bug. Irrelevant.
Literally says "The failure to intercept arose not from using floating point specifically"
I'm not talking about stock exchanges. Obviously they have extreme requirements. For most normal businesses and people
f64is fine.You're repeating dogma without thinking about it.