d3dx9: Implement D3DXFloat16to32Array and D3DXFloat32to16Array.
Stefan Dösinger
stefandoesinger at gmx.at
Fri Feb 11 14:58:31 CST 2011
Am Freitag 11 Februar 2011, 20:48:58 schrieb Misha Koshelev:
> Stefan et al:
>
> Thank you. How about this guy?
> + if (exp > 31)
> + {
> + /* too big */
> + ret = 0x7fff; /* INF */
> + }
That's not INF, that is NaN. Or, if you don't read it as a special value the
highest possible positive number in a float16 format that doesn't understand
NaNs or INFs
Otherwise it looks OK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110211/c8b88c56/attachment.pgp>
More information about the wine-devel
mailing list