summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-09 10:45:41 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-09 10:45:41 (GMT)
commit8f9f8d612a1ee264a465f493b1ce6215418128de (patch)
tree932bbe3ba95806fc499f853fe25c2ec3726c6afa /pyconfig.h.in
parent936d518dc8fb8fb094de1391d5a0703287db694e (diff)
downloadcpython-8f9f8d612a1ee264a465f493b1ce6215418128de.zip
cpython-8f9f8d612a1ee264a465f493b1ce6215418128de.tar.gz
cpython-8f9f8d612a1ee264a465f493b1ce6215418128de.tar.bz2
Issue #11888: Use system log2() when available
I expect the system libc to use more accurate functions than Python. The GNU libc uses for example FYL2X and FYL2XP1 hardware instructions on Intel FPU.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 89b0c33..55272f1 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -476,6 +476,9 @@
/* Define to 1 if you have the `log1p' function. */
#undef HAVE_LOG1P
+/* Define to 1 if you have the `log2' function. */
+#undef HAVE_LOG2
+
/* Define this if you have the type long double. */
#undef HAVE_LONG_DOUBLE