[Python-checkins] r66553 - python/trunk/Python/pymath.c
andrew.macintyre
python-checkins at python.org
Mon Sep 22 16:11:42 CEST 2008
Author: andrew.macintyre
Date: Mon Sep 22 16:11:41 2008
New Revision: 66553
Log:
any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>
Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc
Modified:
python/trunk/Python/pymath.c
Modified: python/trunk/Python/pymath.c
==============================================================================
--- python/trunk/Python/pymath.c (original)
+++ python/trunk/Python/pymath.c Mon Sep 22 16:11:41 2008
@@ -35,6 +35,8 @@
#endif /* HAVE_COPYSIGN */
#ifndef HAVE_LOG1P
+#include <float.h>
+
double
log1p(double x)
{
More information about the Python-checkins
mailing list