Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Include/pymath.h

    r2 r388  
    33
    44#include "pyconfig.h" /* include for defines */
    5 
    6 #ifdef HAVE_STDINT_H
    7 #include <stdint.h>
    8 #endif
    95
    106/**************************************************************************
     
    139**************************************************************************/
    1410
    15 /* Python provides implementations for copysign, acosh, asinh, atanh,
    16  * log1p and hypot in Python/pymath.c just in case your math library doesn't
    17  * provide the functions.
     11/* Python provides implementations for copysign, round and hypot in
     12 * Python/pymath.c just in case your math library doesn't provide the
     13 * functions.
    1814 *
    1915 *Note: PC/pyconfig.h defines copysign as _copysign
     
    2319#endif
    2420
    25 #ifndef HAVE_ACOSH
    26 extern double acosh(double);
    27 #endif
    28 
    29 #ifndef HAVE_ASINH
    30 extern double asinh(double);
    31 #endif
    32 
    33 #ifndef HAVE_ATANH
    34 extern double atanh(double);
    35 #endif
    36 
    37 #ifndef HAVE_LOG1P
    38 extern double log1p(double);
     21#ifndef HAVE_ROUND
     22extern double round(double);
    3923#endif
    4024
     
    9175#    define Py_FORCE_DOUBLE(X) (X)
    9276#  endif
     77#endif
     78
     79#ifdef HAVE_GCC_ASM_FOR_X87
     80PyAPI_FUNC(unsigned short) _Py_get_387controlword(void);
     81PyAPI_FUNC(void) _Py_set_387controlword(unsigned short);
    9382#endif
    9483
Note: See TracChangeset for help on using the changeset viewer.