Changeset 36125 in vbox for trunk/src/recompiler/fpu
- Timestamp:
- Mar 1, 2011 4:49:42 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/fpu/softfloat-native.h
r21292 r36125 64 64 #define islessequal(x, y) ((!unordered(x, y)) && ((x) <= (y))) 65 65 #define isunordered(x,y) unordered(x, y) 66 #elif defined(_MSC_VER)67 #include <float.h>68 #define unordered(x1, x2) ((_fpclass(x1) <= 2) || (_fpclass(x2) <= 2))69 #define isless(x, y) ((!unordered(x, y)) && ((x) < (y)))70 #define islessequal(x, y) ((!unordered(x, y)) && ((x) <= (y)))71 #define isunordered(x,y) unordered(x, y)72 66 #endif 73 67 … … 141 135 float_round_to_zero = 3 142 136 }; 143 #elif defined(_MSC_VER)144 enum {145 float_round_nearest_even = _FpRoundNearest,146 float_round_down = _FpRoundMinusInfinity,147 float_round_up = _FpRoundPlusInfinity,148 float_round_to_zero = _FpRoundChopped149 };150 137 #else 151 138 enum {
Note:
See TracChangeset
for help on using the changeset viewer.