Monday, September 25, 2017

#didyouknow that .1+.2-.3 does not equal zero in probably all computer programs?

That includes pieces of software like Matlab, Python, and so on. They’re all just good at hiding that fact. Here’s an explanation: https://docs.python.org/2/tutorial/floatingpoint.html