Changeset 10 for python/trunk/Python/pystrtod.c
- Timestamp:
- Sep 3, 2010, 5:33:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Python/pystrtod.c
r2 r10 3 3 #include <Python.h> 4 4 #include <locale.h> 5 #ifdef __EMX__ 6 #include <float.h> 7 #endif 8 5 9 6 10 /* ascii character tests (as opposed to locale tests) */ … … 41 45 PyOS_ascii_strtod(const char *nptr, char **endptr) 42 46 { 47 #ifdef __EMX__ 48 _control87(MCW_EM, MCW_EM); 49 #endif 43 50 char *fail_pos; 44 51 double val = -1.0; … … 173 180 } 174 181 else { 182 //sigfpe here 175 183 val = strtod(digits_pos, &fail_pos); 176 184 }
Note:
See TracChangeset
for help on using the changeset viewer.