KKaustubh Mishra·Aug 9HOW JAVA STORES NEGATIVE NUMBERS AND THE LIE OF 0.7Why 0.7f is a lie: Two's Complement, IEEE 754 bias, and how Java actually stores negative numbers & floating points in silicon.10 min read·kmscratch.hashnode.dev2
CCloud Tuned·Jul 10, 2024Understanding Floating Point NumbersUnderstanding Floating Point Numbers4 min read·cloudtuned.dev
JJyotiprakash Mishra·Dec 31, 2023Be careful with floats!Let's consider a simple example in C where we sum floating-point numbers and compare the result to what we might expect. This example will illustrate how floating-point precision issues can lead to unexpected results. We will sum the floating point n...3 min read·blog.jyotiprakash.org