Be 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...
blog.jyotiprakash.org3 min read