Changeset 3766
- Timestamp:
- Mar 15, 2012, 12:19:22 PM (13 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include
-
Property svn:mergeinfo
set to
/trunk/libc/include merged eligible
-
Property svn:mergeinfo
set to
-
branches/libc-0.6/src/emx/include/fenv.h
r2013 r3766 33 33 #include <sys/_types.h> 34 34 35 /* 35 /* 36 36 * To preserve binary compatibility with FreeBSD 5.3, we pack the 37 37 * mxcsr into some reserved fields, rather than changing sizeof(fenv_t). … … 132 132 fegetexceptflag(fexcept_t *__flagp, int __excepts) 133 133 { 134 int __mxcsr, __status; 134 int __mxcsr; 135 unsigned short __status; 135 136 136 137 __fnstsw(&__status); … … 149 150 fetestexcept(int __excepts) 150 151 { 151 int __mxcsr, __status; 152 int __mxcsr; 153 unsigned short __status; 152 154 153 155 __fnstsw(&__status); … … 162 164 fegetround(void) 163 165 { 164 int __control;166 unsigned short __control; 165 167 166 168 /* … … 177 179 fesetround(int __round) 178 180 { 179 int __mxcsr, __control; 181 int __mxcsr; 182 unsigned short __control; 180 183 181 184 if (__round & ~_ROUND_MASK) … … 224 227 fegetexcept(void) 225 228 { 226 int __control;229 unsigned short __control; 227 230 228 231 /* -
branches/libc-0.6/src/emx/src/lib/msun
-
Property svn:mergeinfo
set to
/trunk/libc/src/msun merged eligible
-
Property svn:mergeinfo
set to
-
branches/libc-0.6/src/emx/src/lib/msun/i387/fenv.c
r2016 r3766 119 119 _STD(fegetenv)(fenv_t *envp) 120 120 { 121 int control, mxcsr; 121 unsigned short control; 122 int mxcsr; 122 123 123 124 /* … … 155 156 _STD(feupdateenv)(const fenv_t *envp) 156 157 { 157 int mxcsr, status; 158 int mxcsr; 159 unsigned short status; 158 160 159 161 __fnstsw(&status); … … 170 172 __feenableexcept(int mask) 171 173 { 172 int mxcsr, control, omask; 174 unsigned short control; 175 int mxcsr, omask; 173 176 174 177 mask &= FE_ALL_EXCEPT; … … 191 194 __fedisableexcept(int mask) 192 195 { 193 int mxcsr, control, omask; 196 unsigned short control; 197 int mxcsr, omask; 194 198 195 199 mask &= FE_ALL_EXCEPT;
Note:
See TracChangeset
for help on using the changeset viewer.