On Wed, Feb 9, 2011 at 4:40 AM, Stefan Dösinger <stefandoesin...@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 Misha