Skip to content Skip to sidebar Skip to footer
Showing posts with the label Floating Accuracy

Floating Point Behavior In Python 2.6 Vs 2.7

So I break out the Python 2.6 interpreter and I get this: Python 2.6.6 (r266:84292, Nov 22 2013, 12… Read more Floating Point Behavior In Python 2.6 Vs 2.7

Why Is Rounding 0.5 (decimal) Not Exact?

One half, i.e. 0.5 in decimal, has an exact binary representation: 0.1 Nevertheless, if I round it … Read more Why Is Rounding 0.5 (decimal) Not Exact?