When using python, either 2.7.17 or 3.6.9, a strange behaviour occurs when using the value "1e11." For both versions:
>>> 1.0e-11*1.0e11
0.9999999999999999
>>> 1.0e-10*1.0e10
1.0
>>> 1.0e-12*1.0e12
1.0
>>> 1.0e-13*1.0e13
1.0
etc.
>>> 1.0-(1.0e-11*1.0e11)
1.1102230246251565e-16
Whilst, for all other exponents [EDIT: under 20], the result is correctly 0.0. Clearly there are some floating point precision issues going on, but why isn't it consistent between exponents 10, 11 and 12. What's going on here?