mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)
This commit is contained in:
parent
858493251f
commit
487235109b
5 changed files with 31 additions and 10 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
|
||||
#ifndef HAVE_HYPOT
|
||||
double hypot(double x, double y)
|
||||
{
|
||||
double yx;
|
||||
|
@ -20,3 +21,5 @@ double hypot(double x, double y)
|
|||
return x*sqrt(1.+yx*yx);
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_HYPOT */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue