Changeset 926


Ignore:
Timestamp:
Sep 8, 2011, 2:16:52 PM (8 years ago)
Author:
sam
Message:

core: handle denormal halfs properly on the PS3; it's denormal floats that
we do not care about.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/half.cpp

    r883 r926  
    228228    if (e == 0)
    229229    {
    230 #if !defined __CELLOS_LV2__
    231230        uint32_t v = m | (m >> 1);
    232231        v |= v >> 2;
     
    239238         * added to our underestimated exponent. */
    240239        return s | (((125 - e) << 23) + (m << e));
    241 #else
    242         /* PS3 don't know bout my denormals */
    243         return s;
    244 #endif
    245240    }
    246241
Note: See TracChangeset for help on using the changeset viewer.