Changeset 18967 in vbox
- Timestamp:
- Apr 16, 2009 9:25:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/fpu/softfloat-native.c
r18922 r18967 32 32 #define rintf(f) ((float)rint(f)) 33 33 /* Some defines which only apply to *BSD */ 34 # if defined( _BSD)34 # if defined(VBOX) && defined(_BSD) 35 35 # define lrintl(f) ((int32_t)rint(f)) 36 36 # define llrintl(f) ((int64_t)rint(f)) … … 38 38 # define sqrtl(f) (sqrt(f)) 39 39 # define remainderl(fa, fb) (remainder(fa, fb)) 40 # endif 40 # endif /* VBOX */ 41 41 #endif 42 42 … … 49 49 if (fabs(x) >= y) 50 50 return x; 51 if (x < 0) 51 if (x < 0) 52 52 y = -y; 53 53 y = (x + y) - y; … … 111 111 #endif /* VBOX */ 112 112 { 113 if (a != (int32_t)a) 113 if (a != (int32_t)a) 114 114 a = 0x80000000; 115 115 return a;
Note:
See TracChangeset
for help on using the changeset viewer.