[Numpy-discussion] Does float16 exist?

Matthieu Brucher matthieu.brucher@gmail....
Mon Jan 7 14:06:54 CST 2008


float16 is not defined in my version of Numpy :(

Matthieu

2008/1/7, Darren Dale <darren.dale@cornell.edu>:
>
> One of my collaborators would like to use 16bit float arrays. According to
> http://www.scipy.org/Tentative_NumPy_Tutorial, and references to float16
> in
> numpy.core.numerictypes, it appears that this should be possible, but the
> following doesnt work:
>
> a=arange(10, dtype='float16')
> TypeError: data type not understood
>
> Can anyone offer some advice?
>
> Thanks,
> Darren
>
> --
> Darren S. Dale, Ph.D.
> Staff Scientist
> Cornell High Energy Synchrotron Source
> Cornell University
> 275 Wilson Lab
> Rt. 366 & Pine Tree Road
> Ithaca, NY 14853
>
> darren.dale@cornell.edu
> office: (607) 255-3819
> fax: (607) 255-9001
> http://www.chess.cornell.edu
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080107/301ca4f6/attachment.html 


More information about the Numpy-discussion mailing list