-
Book Overview & Buying
-
Table Of Contents
Python Automation Cookbook - Third Edition
By :
For some operations, simple calculations are not enough. Some complex operations may have nuances in the way they work, and/or problems with precision due to using certain data types. For example, calculating the statistical variance of float numbers can produce problems due to precision issues, as described in this article https://leimao.github.io/blog/Compute-Variance-One-Pass-Naive-Algorithm/.
Python allows us to use arbitrarily big integers automatically, but floats present challenges in precision. Adapting code to handle big numbers can be a challenge. Numbers in computing have limitations such as limited precision or restricted ranges over which they are accurate. These limitations may not be obvious at first glance.
Moreover, straight Python is known not to have an amazing number-crunching performance. Complicated mathematical operations will take longer when compared to a compiled language such as C++ or even Java.
That's why using a specialized...