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

9170 CTFE: Allow reinterpret casts float <-> int #1383

Commits on Dec 18, 2012

  1. Fix issue 9170 CTFE: Allow reinterpret casts float <-> int

    Only allows the special case *(cast(U*))&e, where e is an expression
    of type T, T.sizeof == U.sizeof, one type is integral
    (int, uint, long, ulong) and the other is floating point (float,
    double, ifloat, idouble).
    Purpose: allow implementation of HalfFloat.
    don-clugston-sociomantic committed Dec 18, 2012
    Configuration menu
    Copy the full SHA
    234fa18 View commit details
    Browse the repository at this point in the history