Smack: add the execute lable to ldconfig
[platform/upstream/glibc.git] / math / w_log10l.c
index b26f18c..67a9e19 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2015 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
 
 long double
 __log10l (long double x)
 {
-  if (__builtin_expect (x <= 0.0L, 0) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (islessequal (x, 0.0L), 0) && _LIB_VERSION != _IEEE_)
     {
       if (x == 0.0L)
        {
          feraiseexcept (FE_DIVBYZERO);
-         return __kernel_standard (x, x, 218); /* log10(0) */
+         return __kernel_standard_l (x, x, 218); /* log10(0) */
        }
       else
        {
          feraiseexcept (FE_INVALID);
-         return __kernel_standard (x, x, 219); /* log10(x<0) */
+         return __kernel_standard_l (x, x, 219); /* log10(x<0) */
        }
     }