Changeset 18922 in vbox for trunk/src/recompiler_new/fpu/softfloat-native.c
- Timestamp:
- Apr 15, 2009 9:21:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/fpu/softfloat-native.c
r18914 r18922 24 24 25 25 #if defined(_BSD) || (defined(HOST_SOLARIS) && HOST_SOLARIS < 10) 26 #define rintl(d) ((int32_t)rint(d))27 26 #define lrint(d) ((int32_t)rint(d)) 28 27 #define llrint(d) ((int64_t)rint(d)) 29 #define lrint l(f) ((int32_t)rint(f))30 #define llrint l(f) ((int64_t)rint(f))28 #define lrintf(f) ((int32_t)rint(f)) 29 #define llrintf(f) ((int64_t)rint(f)) 31 30 #define sqrtf(f) ((float)sqrt(f)) 32 31 #define remainderf(fa, fb) ((float)remainder(fa, fb)) 33 32 #define rintf(f) ((float)rint(f)) 34 #define sqrtl(f) (sqrt(f)) 35 #define remainderl(fa, fb) (remainder(fa, fb)) 33 /* Some defines which only apply to *BSD */ 34 # if defined(_BSD) 35 # define lrintl(f) ((int32_t)rint(f)) 36 # define llrintl(f) ((int64_t)rint(f)) 37 # define rintl(d) ((int32_t)rint(d)) 38 # define sqrtl(f) (sqrt(f)) 39 # define remainderl(fa, fb) (remainder(fa, fb)) 40 # endif 36 41 #endif 37 42
Note:
See TracChangeset
for help on using the changeset viewer.