Re: NaN still broken on Windows builds?

From: Date: Sun, 24 May 2009 08:29:59 +0000
Subject: Re: NaN still broken on Windows builds?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-44042@lists.php.net to get a copy of this message
hi, Try VC9 snapshots from http://windows.php.net please. Cheers, -- Pierre 2009/5/24 Stan Vassilev <sv_forums@fmethod.com>: > > Hi, > > Can someone please point me to a Win32 build which has a working NaN? The last few releases on > php.net all share the same problems, which are leading to real-world bugs in userland code: > > var_dump(NAN); // float(0), should be float(NAN) > $realNaN = sqrt(-1); > var_dump($realNaN); // float(NAN) > var_dump($realNaN == $realNaN); // true, should be false, NaN should never match NaN > > Regards, > Stan Vassilev -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#44042) next »