Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug in single->half conversion. #128

Merged
merged 1 commit into from
Jun 2, 2014
Merged

Commits on Jun 2, 2014

  1. 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).
    Frassle committed Jun 2, 2014
    Configuration menu
    Copy the full SHA
    5481aa7 View commit details
    Browse the repository at this point in the history