[Numpy-discussion] Re ading scientific notation using D instead of E
Pauli Virtanen
pav@iki...
Fri Feb 12 10:11:18 CST 2010
pe, 2010-02-12 kello 11:03 -0500, josef.pktd@gmail.com kirjoitti:
[clip]
> >>> np.float('1.5698D+03')
>
> 1569.8
> >>> np.float('1.23D+04')
> 12300.0
>
> it's still working with numpy 1.4.0
>>> np.float is float
True
Accepting the D+ notation is
1) Python feature, not one from Numpy
2) Only available on Windows, AFAIK
--
Pauli Virtanen
More information about the NumPy-Discussion
mailing list