[Numpy-discussion] Re ading scientific notation using D instead of E
Fri Feb 12 11:06:02 CST 2010
Thank you for the replies. It must be because I am using python on OSX. Is
there no work around for it then?
Robert Kern-2 wrote:
> On Fri, Feb 12, 2010 at 10:05, <email@example.com> wrote:
>> On Fri, Feb 12, 2010 at 11:03 AM, <firstname.lastname@example.org> wrote:
>>> it's still working with numpy 1.4.0
>> maybe this is a python feature with python builtin float:
>> with python 2.5
> numpy.float is indeed Python's builtin float type (for obscure
> historical reasons that I won't go into). However, in Python 2.5, at
> least, the parsing of the string is offloaded to the standard C
> function strtod(). On your platform, strtod() will parse the D
> correctly. On OS X, for example, it doesn't. It has nothing to do with
> Python versions but rather the platform that you are on.
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
> -- Umberto Eco
> NumPy-Discussion mailing list
View this message in context: http://old.nabble.com/Reading-scientific-notation-using-D-instead-of-E-tp27565041p27566555.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.
More information about the NumPy-Discussion