<div dir="ltr">I would use a complex32 dtype if it existed, whether provided by numpy or another library.<div><br></div><div>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 [1] and you could easily store a complex array as two float16 arrays and get the same space savings. </div><div><br></div><div>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.</div><div><br></div><div>[1] <a href="https://stackoverflow.com/a/24590380/5026175" target="_blank">https://stackoverflow.com/a/24590380/5026175</a></div><div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 11, 2019 at 7:47 AM Neal Becker <<a href="mailto:ndbecker2@gmail.com" target="_blank">ndbecker2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I see a float16 dtype but not complex32. Is this an oversight?<br>
<br>
Thanks,<br>
Neal<br>
<br>
-- <br>
Those who don't understand recursion are doomed to repeat it<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div>