d3dx9: Implement D3DXFloat16to32Array and D3DXFloat32to16Array.

Misha Koshelev misha680 at gmail.com
Wed Feb 9 10:48:12 CST 2011

On Wed, Feb 9, 2011 at 4:40 AM, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Am Dienstag 08 Februar 2011, 22:45:52 schrieb Misha Koshelev:
>> I don't have msvc. Please suggest how I can check this. Thank you. Yours
>> Misha
> According to http://www.johndcook.com/math_h.html it exists, but has a
> different name. So we'd need some wrapper around it in libwine. Maybe one
> exists already, I can't check right now. If not I recommend to stick to
> isnan() and isinf()

Thanks. Do you have a good way to compare to 0.0f and -0.0f? For some
reason, when I took out references and instead used actually float
parameters, my comparisons of ((unsigned float) in) == 0x00000000
became true for Inf and NaN as well?

Thank you

More information about the wine-devel mailing list