In C, on any micro controller when we initialize a float variable to 0
float var = 0.0f;
Is 'var' exactly equal to zero or does it depend on the min & max float resolution of the processor?
Happily, zero is actually zero no matter what: IEEE-754 (the usual standard for floats) sets aside the all-zeroes bit pattern as meaning identically zero.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With