Mayemene Fomene Jean Vladimir Posted on Jun 13, 2018 Floating Point Imprecision #python #floats #help What is Floating point imprecision? These two expressions in python are suppose to produce the same result. But why don't they do that? >>> 7 / 3 * 3 7.0 >>> 1 / 3 * 7 * 3 6.999999999999999 Enter fullscreen mode Exit fullscreen mode When should you be careful about floating point imprecision? Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)