<p dir="ltr"><br>
On Mar 26, 2015 6:58 PM, "Matt Turner" <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>> wrote:<br>
><br>
> On Thu, Mar 26, 2015 at 1:35 PM, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
> > What about other datatypes such as D or UW?  Perhaps we should have<br>
> > some sort of is_integer function and just do is_integer(a) !=<br>
> > is_integer(b)?<br>
><br>
> I can't come up with any case where we'd be doing a partial write<br>
> (with B/UB/W/UW types) and then comparing that. I don't think that's<br>
> possible.<br>
><br>
> Your question about D though -- that's fine. The check is "if the<br>
> types aren't the same, and one is a float".</p>
<p dir="ltr">We could still have a problem with doubles or half-float.  Probably worth at least a fixme comment.  Other than that.</p>
<p dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>></p>