Chris Barker <chris.bar...@noaa.gov> wrote:

> we get away with np.float, because every OS/compiler that gets any regular
> use has np.float == a c double, which is always 64 bit.

Not if we are passing an array of np.float to a ac routine that expects
float*, e.g. in OpenGL, BLAS or LAPACK. That will for sure give crazy
results, just hang, or segfault.

I got away with pisting a PR with a "bugfix" which supposedly should fix a
case of precision loss in a SciPy routine, because I thought np.float was
np.float32 and not np.float64 (which it is). But it did make me feel rather
stupid.

Sturla

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to