X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Flog10l.c;h=3a85883313387854a5517fcac8c8bda548cd843c;hp=12c71f6a61686a9bc1e2b7d74ae8a0d2d1b60d0a;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=fc04675a09587031d5daebcb877b73976890b71d;ds=sidebyside diff --git a/src/math/log10l.c b/src/math/log10l.c index 12c71f6..3a85883 100644 --- a/src/math/log10l.c +++ b/src/math/log10l.c @@ -59,12 +59,12 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double log10l(long double x) { return log10(x); } -#elif LD80 +#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 /* Coefficients for log(1+x) = x - x**2/2 + x**3 P(x)/Q(x) * 1/sqrt(2) <= x < sqrt(2) * Theoretical peak relative error = 6.2e-22