Changeset 809
- Timestamp:
- Mar 21, 2016, 11:25:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/math/fmod.c
r792 r809 62 62 int32_t expx = absx >> 52; 63 63 int32_t expy = absy >> 52; 64 int64_t sx = absx & 0x000fffffffffffff ;65 int64_t sy = absy & 0x000fffffffffffff ;64 int64_t sx = absx & 0x000fffffffffffffULL; 65 int64_t sy = absy & 0x000fffffffffffffULL; 66 66 67 67 if (0 == expx) { … … 105 105 106 106 if (0 == sx) { 107 ux.u &= 0x8000000000000000 ;107 ux.u &= 0x8000000000000000ULL; 108 108 return ux.d; 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.