Skip to content

Commit 412159d

Browse files
author
andrew.macintyre
committed
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 git-svn-id: http://svn.python.org/projects/python/trunk@66553 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 897d5d1 commit 412159d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Python/pymath.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ copysign(double x, double y)
3535
#endif /* HAVE_COPYSIGN */
3636

3737
#ifndef HAVE_LOG1P
38+
#include <float.h>
39+
3840
double
3941
log1p(double x)
4042
{

0 commit comments

Comments
 (0)