X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fpowl.c;h=0f0d8941f8dd21d244c64460bfa1eb1681d42516;hp=c829c18fcaeacbf0f963273f1932ada48f36bace;hb=5298ab468eb88cace2413703ac409009efaa8ca7;hpb=781e3284dddd0d9cc713603f4bd05442df78e09a;ds=sidebyside diff --git a/src/math/powl.c b/src/math/powl.c index c829c18..0f0d894 100644 --- a/src/math/powl.c +++ b/src/math/powl.c @@ -207,7 +207,7 @@ long double powl(long double x, long double y) if (y == 1.0L) return x; - // FIXME: this is wrong, see pow special cases in posix2008 + // FIXME: this is wrong, see pow special cases in c99 F.9.4.4 if (!isfinite(y) && (x == -1.0L || x == 1.0L) ) return y - y; /* +-1**inf is NaN */ if (x == 1.0L)