Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Modules/mathmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static const double logpi = 1.144729885849400174143427351353058711647;
} \
}

#ifndef HAVE_ACOSPI
#ifndef _Py_HAVE_ACOSPI
/*
acos(x)/pi. It conforms to C23 Annex 'F'.
*/
Expand All @@ -236,7 +236,7 @@ m_acospi(double x)
#define m_acospi acospi
#endif

#ifndef HAVE_ASINPI
#ifndef _Py_HAVE_ASINPI
/*
asin(x)/pi. It conforms to C23 Annex 'F'.
*/
Expand All @@ -254,7 +254,7 @@ m_asinpi(double x)
#define m_asinpi asinpi
#endif

#ifndef HAVE_ATANPI
#ifndef _Py_HAVE_ATANPI
/*
atan(x)/pi. It conforms to C23 Annex 'F'.
*/
Expand All @@ -272,7 +272,7 @@ m_atanpi(double x)
#define m_atanpi atanpi
#endif

#ifndef HAVE_ATAN2PI
#ifndef _Py_HAVE_ATAN2PI
/*
atan2(y, x)/pi. It conforms to C23 Annex 'F'.
*/
Expand All @@ -290,7 +290,7 @@ m_atan2pi(double y, double x)
#define m_atan2pi atan2pi
#endif

#ifndef HAVE_COSPI
#ifndef _Py_HAVE_COSPI
/*
cos(pi*x), giving accurate results for all finite x (especially x
integral or close to an integer). It conforms to C23 Annex 'F'.
Expand Down Expand Up @@ -318,7 +318,7 @@ m_cospi(double x)
#define m_cospi cospi
#endif

#ifndef HAVE_SINPI
#ifndef _Py_HAVE_SINPI
/*
sin(pi*x), giving accurate results for all finite x (especially x
integral or close to an integer). It conforms to C23 Annex 'F'.
Expand Down Expand Up @@ -362,7 +362,7 @@ m_sinpi(double x)
#define m_sinpi sinpi
#endif

#ifndef HAVE_TANPI
#ifndef _Py_HAVE_TANPI
/*
tan(pi*x), giving accurate results for all finite x (especially x
integral or close to an integer). It conforms to C23 Annex 'F'.
Expand Down
7 changes: 0 additions & 7 deletions Tools/build/check_capi_macros_ignored.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,14 @@ GETPGRP_HAVE_ARG
HAVE_ACCEPT
HAVE_ACCEPT4
HAVE_ACOSH
HAVE_ACOSPI
HAVE_ADDRINFO
HAVE_ALARM
HAVE_ALIGNED_REQUIRED
HAVE_ALLOCA_H
HAVE_ALTZONE
HAVE_ASINH
HAVE_ASINPI
HAVE_ASM_TYPES_H
HAVE_ATAN2PI
HAVE_ATANH
HAVE_ATANPI
HAVE_BACKTRACE
HAVE_BIND
HAVE_BIND_TEXTDOMAIN_CODESET
Expand Down Expand Up @@ -118,7 +114,6 @@ HAVE_CONFSTR
HAVE_CONIO_H
HAVE_CONNECT
HAVE_COPY_FILE_RANGE
HAVE_COSPI
HAVE_CTERMID
HAVE_CTERMID_R
HAVE_CURSES_DEFINE_KEY
Expand Down Expand Up @@ -510,7 +505,6 @@ HAVE_SIGRELSE
HAVE_SIGTIMEDWAIT
HAVE_SIGWAIT
HAVE_SIGWAITINFO
HAVE_SINPI
HAVE_SNPRINTF
HAVE_SOCKADDR_ALG
HAVE_SOCKADDR_SA_LEN
Expand Down Expand Up @@ -602,7 +596,6 @@ HAVE_SYS_UN_H
HAVE_SYS_UTSNAME_H
HAVE_SYS_WAIT_H
HAVE_SYS_XATTR_H
HAVE_TANPI
HAVE_TCGETPGRP
HAVE_TCSETPGRP
HAVE_TEMPNAM
Expand Down
Loading
Loading