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

          Priority: medium
            Bug ID: 80888
          Assignee: mesa-dev@lists.freedesktop.org
           Summary: draw_cliptest_tmp.h computes zero/zero It is better to
                    use NAN macro
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: zec...@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 10.2
         Component: Other
           Product: Mesa

draw_cliptest_tmp.h:180
"position[3] = zero / zero; /* MSVC doesn't accept 0.0 / 0.0 */"
is wrong in my opinion.
The NAN macro from math.h should be used instead
"position[3] = NAN;"
see man NAN.
I believe zero/zero is against any programming language standard that I know.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to