[Numpy-discussion] Unexpected float96 precision loss

Chris Barker Chris.Barker at noaa.gov
Thu Sep 2 14:09:46 EDT 2010


Pauli Virtanen wrote:
> We'll just need to add long double versions of NumPyOS_ascii_strtod and 
> NumPyOS_ftolf that call sscanf with the correct format string in the end.

hmm -- if you're going to do that, maybe we could re-factor and use 
sscanf everywhere instead of ato*() -- the ato* functions are a 
nightmare, and fromfile() and fromstring are riddled with bugs because 
of it.

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov



More information about the NumPy-Discussion mailing list