Merged revisions 82607 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82607 | mark.dickinson | 2010-07-06 16:00:40 +0100 (Tue, 06 Jul 2010) | 1 line

  Indentation and PEP 7 fixes.
........
This commit is contained in:
Mark Dickinson 2010-07-06 15:03:42 +00:00
parent c167712c00
commit dab089632f
1 changed files with 23 additions and 20 deletions

View File

@ -55,7 +55,8 @@ _Py_acosh(double x)
else if (x >= two_pow_p28) { /* x > 2**28 */
if (Py_IS_INFINITY(x)) {
return x+x;
} else {
}
else {
return log(x)+ln2; /* acosh(huge)=log(2x) */
}
}
@ -214,7 +215,8 @@ _Py_log1p(double x)
double y;
if (fabs(x) < DBL_EPSILON/2.) {
return x;
} else if (-0.5 <= x && x <= 1.) {
}
else if (-0.5 <= x && x <= 1.) {
/* WARNING: it's possible than an overeager compiler
will incorrectly optimize the following two lines
to the equivalent of "return log(1.+x)". If this
@ -222,7 +224,8 @@ _Py_log1p(double x)
for small x. */
y = 1.+x;
return log(y)-((y-1.)-x)/y;
} else {
}
else {
/* NaNs and infinities should end up here */
return log(1.+x);
}