various minor style fixes
[libm] / src / math / powl.c
index c83289b..0f0d894 100644 (file)
@@ -69,7 +69,7 @@
 
 #include "libm.h"
 
-#if LD80
+#if LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
 
 /* Table size */
 #define NXT 32
@@ -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)