opentk/opentk — pull request #128 by Frassle (2014-06-02 10:18:52+00:00)
Title: Fix a bug in single->half conversion.

The original C code had if(m & 0x00800000) which is true if the
expresssion does not evaluate to zero. This was inncorretly translated
to the C# code if((m & 0x00800000) == 1) which only evaluates true if
the expression evalaute to 1, which it never does. The correct test is
to test not equal to zero (!= 0).