summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-04 10:23:20 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-04 10:23:20 (GMT)
commitec8068891c83c983985cb65256ccb134b9ae643a (patch)
tree2638d95bc6d111f9ee19cfe930dc567a5ff6968c /Python/makeopcodetargets.py
parent3cfdd9c1d53bdcc95b3779caaa2ab5953b604797 (diff)
downloadcpython-ec8068891c83c983985cb65256ccb134b9ae643a.zip
cpython-ec8068891c83c983985cb65256ccb134b9ae643a.tar.gz
cpython-ec8068891c83c983985cb65256ccb134b9ae643a.tar.bz2
Merged revisions 73215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line #6176: fix man page section for flock(2). ........
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions
> "=m" (cw)); return cw; } void _Py_set_387controlword(unsigned short cw) { __asm__ __volatile__ ("fldcw %0" : : "m" (cw)); } #endif #ifndef HAVE_HYPOT double hypot(double x, double y) { double yx; x = fabs(x); y = fabs(y); if (x < y) { double temp = x; x = y; y = temp; } if (x == 0.) return 0.; else { yx = y/x; return x*sqrt(1.+yx*yx); } } #endif /* HAVE_HYPOT */ #ifndef HAVE_COPYSIGN double copysign(double x, double y) { /* use atan2 to distinguish -0. from 0. */ if (y > 0. || (y == 0. && atan2(y, -1.) > 0.)) { return fabs(x); } else { return -fabs(x); } } #endif /* HAVE_COPYSIGN */ #ifndef HAVE_ROUND double round(double x) { double absx, y; absx = fabs(x); y = floor(absx); if (absx - y >= 0.5) y += 1.0; return copysign(y, x); } #endif /* HAVE_ROUND */