[Mesa-dev] [Bug 80888] draw_cliptest_tmp.h computes zero/zero It is better to use NAN macro

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 3 23:27:29 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80888

Roland Scheidegger <sroland at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Roland Scheidegger <sroland at vmware.com> ---
Unfortunately msvc (at least pre 2013) doesn't support NAN.
There's only one other method I can think of to do it there which would be to
use a float/uint union, set the uint to some nan bit pattern then use the float
part. No idea if it would actually work and not really nicer neither.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140704/5b4c07ca/attachment.html>


More information about the mesa-dev mailing list