[Numpy-discussion] float16 but no complex32?
cameronjblocker at gmail.com
Thu Jul 11 15:59:52 EDT 2019
I would use a complex32 dtype if it existed, whether provided by numpy or
My guess would be that there was not much demand for a complex32 datatype
since float16s are slow and are generally used as a storage format  and
you could easily store a complex array as two float16 arrays and get the
same space savings.
That said, I am occasionally storing complex-valued validation data in
memory, and the datatype would make it more convenient. I just don't know
how common my use case is. Maybe there are more compelling use cases? I
know some GPUs natively support float16, I'm not sure how common complex32
support is though.
On Thu, Jul 11, 2019 at 7:47 AM Neal Becker <ndbecker2 at gmail.com> wrote:
> I see a float16 dtype but not complex32. Is this an oversight?
> Those who don't understand recursion are doomed to repeat it
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion