• Tim Peters's avatar
    Rework the way we try to check for libm overflow, given that C99 no longer · a40c793d
    Tim Peters yazdı
    requires that errno ever get set, and it looks like glibc is already
    playing that game.  New rules:
    
    + Never use HUGE_VAL.  Use the new Py_HUGE_VAL instead.
    
    + Never believe errno.  If overflow is the only thing you're interested in,
      use the new Py_OVERFLOWED(x) macro.  If you're interested in any libm
      errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts
      to set errno the way C89 said it worked.
    
    Unfortunately, none of these are reliable, but they work on Windows and I
    *expect* under glibc too.
    a40c793d
Adı
Son kayıt (commit)
Son güncelleme
..
.cvsignore Loading commit data...
abstract.c Loading commit data...
bufferobject.c Loading commit data...
cellobject.c Loading commit data...
classobject.c Loading commit data...
cobject.c Loading commit data...
complexobject.c Loading commit data...
descrobject.c Loading commit data...
dictobject.c Loading commit data...
fileobject.c Loading commit data...
floatobject.c Loading commit data...
frameobject.c Loading commit data...
funcobject.c Loading commit data...
intobject.c Loading commit data...
iterobject.c Loading commit data...
listobject.c Loading commit data...
longobject.c Loading commit data...
methodobject.c Loading commit data...
moduleobject.c Loading commit data...
object.c Loading commit data...
obmalloc.c Loading commit data...
rangeobject.c Loading commit data...
sliceobject.c Loading commit data...
stringobject.c Loading commit data...
tupleobject.c Loading commit data...
typeobject.c Loading commit data...
unicodectype.c Loading commit data...
unicodeobject.c Loading commit data...
unicodetype_db.h Loading commit data...
xxobject.c Loading commit data...