When floating point calculation is performed with python, for example, 0.1 + 0.2 = 0.300000000 ... there will be a discrepancy. Does this amount of deviation vary depending on the computer?
Although the program was slightly different, I ran a program that should have the same calculation results on different PCs, but the results were slightly different.

Answer # 1

Answer # 2
The current hardware/software implementation of floatingpoint arithmetic is based on the IEEE 754 standard. There should be nothing.
However, when outputting to the screen, the floating point number is converted to a decimal string, so there may be differences depending on the library/language.

Answer # 3
Although the program was slightly different, I ran a program that should have the same calculation results on different PCs, but the results were slightly different.
If it's not in the answer, you're comparing results with different arithmetic contexts in decimal.
Related articles
 python 3x  about array calculation in python
 xcode  i want to use% in swift floating point, but it doesn't work
 when i get information with python's telnetlib and write it to a file, extra line breaks are created
 python  how to read the f distribution table (percentage point)
 python polygon area calculation can't assign to operator
 i want to automatically generate a calculation problem in python
 python  saving the calculation result of the correlation coefficient
 the calculation result of python print (1/2) becomes 0
 python 3x  python's ascending and descending sorts don't work
 error when performing numerical calculation with python
 python's convention for naming variables such as `list`,` dict`
 python reverse polish notation calculation algorithm
 python  i want to speed up the calculation of for statements with numpy
 i want to align with python's tkinter
 parameter estimation using python's weighted least squares method (wls)
 python contour detection¢roid calculation
 about the operation of python's speedtest module (library)
 multiple classification score calculation errors, python, svm
 python  about the average value calculation method of mass calculation
 python  pass the calculation defined by the function for all combinations of arrays
. So, if you actually check sys.float_info, check the built compiler, and so on. As a general theory nowadays, as Mr. tiitoi has already answered, it seems that it is difficult to think of the difference here unless it is a very special environment.
For example, even if the order of calculation changes slightly, the result may change, so it may be good to doubt such a line.