mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
The patch unifies float("inf") and repr(float("inf")) on all platforms.
This commit is contained in:
parent
8777bcae27
commit
0a8143f646
18 changed files with 394 additions and 9 deletions
|
@ -2974,10 +2974,16 @@ else AC_MSG_ERROR([proper usage is --with-libc=STRING])
|
|||
fi],
|
||||
[AC_MSG_RESULT(default LIBC="$LIBC")])
|
||||
|
||||
# ************************************
|
||||
# * Check for mathematical functions *
|
||||
# ************************************
|
||||
# check for hypot() in math library
|
||||
LIBS_SAVE=$LIBS
|
||||
LIBS="$LIBS $LIBM"
|
||||
AC_REPLACE_FUNCS(hypot)
|
||||
|
||||
AC_CHECK_FUNCS(copysign isfinite isnan isinf)
|
||||
|
||||
LIBS=$LIBS_SAVE
|
||||
|
||||
# check for wchar.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue