Dear all,
If I run the following code as
python main.py
main.py:
import numpy as np
a = 0.999999999999999888977697537484
print("%.30f" % a)
print("%.30f" % np.sqrt(a))
The output is:
0.999999999999999888977697537484
0.999999999999999888977697537484
However, after feeding it through pyinstaller (Windows 7, 32 bit) and
running the executable, the output is
0.999999999999999888977697537484
1.000000000000000000000000000000
On Ubuntu 64-bit, the python output and executable output are both
0.999999999999999888977697537484
0.999999999999999888977697537484
Doesn't seem to matter whether I use numpy or 'import math'
Does anyone have any idea about this?
Kind regards,
Lense
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.