Changeset 892


Ignore:
Timestamp:
Sep 2, 2011, 1:38:54 PM (8 years ago)
Author:
sam
Message:

optim: better isnan() reimplementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/half.cpp

    r887 r892  
    3131{
    3232    union { float f; uint32_t x; } u = { f };
    33     return (~u.x << 1) < 0x00fffffeu;
     33    return (u.x << 1) > 0xff000000u;
    3434}
    3535#endif
Note: See TracChangeset for help on using the changeset viewer.