[SciPy-user] str(numpy.inf)

Samuel GARCIA sgarcia@olfac.univ-lyon1...
Wed Feb 14 11:10:03 CST 2007


Hi list,

I have this problem
str(numpy.inf) under linux give 'inf'
str(numpy.inf) under win32 give '1.#INF'

It is a problem for me because with a GUI in LineEdit, for example, the
end user who have to enter a float can enter inf under linux but not
under win32.


Any idea to solve this ?

Thanks a lot.

Sam


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Samuel Garcia
Universite Claude Bernard LYON 1
CNRS - UMR5020, Laboratoire des Neurosciences et Systemes Sensoriels
50, avenue Tony Garnier
69366 LYON Cedex 07
FRANCE
Tél : 04 37 28 74 64
Fax : 04 37 28 76 01
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the SciPy-user mailing list