[5/5] wined3d: Fix NaN and Inf generation in msvc
vbudovski at gmail.com
Mon Aug 2 19:47:35 CDT 2010
On 02/08/2010, Henri Verbeet <hverbeet at gmail.com> wrote:
> On 2 August 2010 13:20, GOUJON Alexandre <ale.goujon at gmail.com> wrote:
> > Why don't you use math.h NAN macro ?
> > A quick search on google gave me
> > http://www.gnu.org/software/libc/manual//html_node/Infinity-and-NaN.html
> That's not portable enough.
The INFINITY macro is part of C99, but for NaN, why not use something
like sqrt(-1) ?
More information about the wine-devel