On Fri, May 04, 2007 at 09:44:02AM -0700, Christopher Barker wrote:
> Matthieu Brucher wrote:
> > Example of the first line of my data file :
> > 0.0 inf 13.9040914426 14.7406669444 inf 4.41783247603 inf inf 
> > 6.05071515635 inf inf inf 15.6925185021 inf inf inf inf inf inf inf
> 
> I'm pretty sure fromfile() is using the standard C fscanf(). That means 
> that whether in understands "inf" depends on the C lib. I'm guessing 
> that the MS libc doesn't understand the same spelling of "inf" that the 
> gcc one does. There may indeed be no literal for the IEEE Inf.

It would be interesting to see how Inf and NaN (vs. inf and nan) are
interpreted under Windows.

Are there any free fscanf implementations out there that we can
include with numpy?

Cheers
Stéfan
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to