file, do some basic math on it and write the result out to another file.
My problem: I don't get python to use more digits:
In order to try this I type:
The normal precision one:
1.2345678912345679000000000e+000>>from numpy import *
x=1.23456789123456789123456789
print "%35.25e" %x
Now I try to use float64 to get more digits
0.0>>z=zeros(3,float64)
z[0]
<type 'numpy.float64'>>>type(z[0])
<type 'numpy.float64'>>>z[0]=1.23456789123456789123456789
type(z[0])
1.2345678912345679000000000e+000>>print "%35.25e" %z[0]
This cuts the digits just like the 32bit case.
Can anyone please help me get more digits?
Thank you very much in advance,
Ulrich