Ignore:
Timestamp:
Sep 3, 2010, 5:33:06 PM (15 years ago)
Author:
Yuri Dario
Message:

python: merged offline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Python/pystrtod.c

    r2 r10  
    33#include <Python.h>
    44#include <locale.h>
     5#ifdef __EMX__
     6#include <float.h>
     7#endif
     8
    59
    610/* ascii character tests (as opposed to locale tests) */
     
    4145PyOS_ascii_strtod(const char *nptr, char **endptr)
    4246{
     47#ifdef __EMX__
     48_control87(MCW_EM, MCW_EM);
     49#endif
    4350        char *fail_pos;
    4451        double val = -1.0;
     
    173180        }
    174181        else {
     182//sigfpe here
    175183                val = strtod(digits_pos, &fail_pos);
    176184        }
Note: See TracChangeset for help on using the changeset viewer.