1. Integer precision
Here we compare the integer precision of python2.7 and python3.4
python3.4 supports an infinite number of integers (depending on your memory), and in version 2.7 he supports a finite integer length, and for very long integers, he appends the numbers with L representing the long intege type
Although infinite integers are supported, his operations are slower than normal integers, so if precision is required, only a little performance can be sacrificed.
2. plural
The complex number is represented as two floating-point numbers (both real and imaginary), and Python uses J to denote imaginary parts.
The plural is the expansion of the number, when the negative opening of the square root can not be calculated, so the introduction of the plural concept, as for the use you will understand later, mainly for some scientific calculations, the main application or in the mathematical theory
Here are some complex operations
Right here, thank you.
------------------------------------------------------------------
Click to jump 0 basic python-Catalogue
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
0 python-5.4 Precision and complex number of basic science