Lines Matching refs:double
25 /* The include_next requires a split double-inclusion guard. */
60 real-floating (that is, one of float, double, or long double). */
68 _gl_cxx_ ## func ## d (double d) \
73 _gl_cxx_ ## func ## l (long double l) \
85 func (double d) \
90 func (long double l) \
100 one of float, double, or long double). */
112 rpl_ ## func ## d (double d) \
119 rpl_ ## func ## l (long double l) \
125 : sizeof (value) == sizeof (double) ? rpl_ ## func ## d (value) \
130 /* Pull in a function that fixes the 'int' to 'long double' conversion
132 _GL_EXTERN_C void _Qp_itoq (long double *, int);
133 static void (*_gl_math_fix_itold) (long double *, int) = _Qp_itoq;
183 /* HUGE_VAL is a 'double' Infinity. */
193 /* HUGE_VALL is a 'long double' Infinity. */
262 _GL_FUNCDECL_SYS (acosl, long double, (long double x));
264 _GL_CXXALIAS_SYS (acosl, long double, (long double x));
302 _GL_FUNCDECL_SYS (asinl, long double, (long double x));
304 _GL_CXXALIAS_SYS (asinl, long double, (long double x));
342 _GL_FUNCDECL_SYS (atanl, long double, (long double x));
344 _GL_CXXALIAS_SYS (atanl, long double, (long double x));
405 _GL_FUNCDECL_SYS (cbrt, double, (double x));
407 _GL_CXXALIAS_SYS (cbrt, double, (double x));
423 _GL_FUNCDECL_RPL (cbrtl, long double, (long double x));
424 _GL_CXXALIAS_RPL (cbrtl, long double, (long double x));
427 _GL_FUNCDECL_SYS (cbrtl, long double, (long double x));
429 _GL_CXXALIAS_SYS (cbrtl, long double, (long double x));
471 _GL_FUNCDECL_RPL (ceil, double, (double x));
472 _GL_CXXALIAS_RPL (ceil, double, (double x));
474 _GL_CXXALIAS_SYS (ceil, double, (double x));
485 _GL_FUNCDECL_RPL (ceill, long double, (long double x));
486 _GL_CXXALIAS_RPL (ceill, long double, (long double x));
490 _GL_FUNCDECL_SYS (ceill, long double, (long double x));
492 _GL_CXXALIAS_SYS (ceill, long double, (long double x));
520 _GL_FUNCDECL_SYS (copysign, double, (double x, double y));
522 _GL_CXXALIAS_SYS (copysign, double, (double x, double y));
534 _GL_FUNCDECL_SYS (copysignl, long double, (long double x, long double y));
536 _GL_CXXALIAS_SYS (copysignl, long double, (long double x, long double y));
574 _GL_FUNCDECL_SYS (cosl, long double, (long double x));
576 _GL_CXXALIAS_SYS (cosl, long double, (long double x));
642 _GL_FUNCDECL_RPL (expl, long double, (long double x));
643 _GL_CXXALIAS_RPL (expl, long double, (long double x));
647 _GL_FUNCDECL_SYS (expl, long double, (long double x));
649 _GL_CXXALIAS_SYS (expl, long double, (long double x));
681 _GL_FUNCDECL_RPL (exp2, double, (double x));
682 _GL_CXXALIAS_RPL (exp2, double, (double x));
685 _GL_FUNCDECL_SYS (exp2, double, (double x));
687 _GL_CXXALIAS_SYS (exp2, double, (double x));
704 _GL_FUNCDECL_RPL (exp2l, long double, (long double x));
705 _GL_CXXALIAS_RPL (exp2l, long double, (long double x));
709 _GL_FUNCDECL_SYS (exp2l, long double, (long double x));
711 _GL_CXXALIAS_SYS (exp2l, long double, (long double x));
752 _GL_FUNCDECL_RPL (expm1, double, (double x));
753 _GL_CXXALIAS_RPL (expm1, double, (double x));
756 _GL_FUNCDECL_SYS (expm1, double, (double x));
758 _GL_CXXALIAS_SYS (expm1, double, (double x));
775 _GL_FUNCDECL_RPL (expm1l, long double, (long double x));
776 _GL_CXXALIAS_RPL (expm1l, long double, (long double x));
780 _GL_FUNCDECL_SYS (expm1l, long double, (long double x));
782 _GL_CXXALIAS_SYS (expm1l, long double, (long double x));
815 _GL_FUNCDECL_RPL (fabsl, long double, (long double x));
816 _GL_CXXALIAS_RPL (fabsl, long double, (long double x));
820 _GL_FUNCDECL_SYS (fabsl, long double, (long double x));
822 _GL_CXXALIAS_SYS (fabsl, long double, (long double x));
864 _GL_FUNCDECL_RPL (floor, double, (double x));
865 _GL_CXXALIAS_RPL (floor, double, (double x));
867 _GL_CXXALIAS_SYS (floor, double, (double x));
878 _GL_FUNCDECL_RPL (floorl, long double, (long double x));
879 _GL_CXXALIAS_RPL (floorl, long double, (long double x));
883 _GL_FUNCDECL_SYS (floorl, long double, (long double x));
885 _GL_CXXALIAS_SYS (floorl, long double, (long double x));
926 _GL_FUNCDECL_RPL (fma, double, (double x, double y, double z));
927 _GL_CXXALIAS_RPL (fma, double, (double x, double y, double z));
930 _GL_FUNCDECL_SYS (fma, double, (double x, double y, double z));
932 _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z));
949 _GL_FUNCDECL_RPL (fmal, long double,
950 (long double x, long double y, long double z));
951 _GL_CXXALIAS_RPL (fmal, long double,
952 (long double x, long double y, long double z));
956 _GL_FUNCDECL_SYS (fmal, long double,
957 (long double x, long double y, long double z));
959 _GL_CXXALIAS_SYS (fmal, long double,
960 (long double x, long double y, long double z));
1002 _GL_FUNCDECL_RPL (fmod, double, (double x, double y));
1003 _GL_CXXALIAS_RPL (fmod, double, (double x, double y));
1005 _GL_CXXALIAS_SYS (fmod, double, (double x, double y));
1022 _GL_FUNCDECL_RPL (fmodl, long double, (long double x, long double y));
1023 _GL_CXXALIAS_RPL (fmodl, long double, (long double x, long double y));
1027 _GL_FUNCDECL_SYS (fmodl, long double, (long double x, long double y));
1029 _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y));
1085 _GL_FUNCDECL_RPL (frexp, double, (double x, int *expptr) _GL_ARG_NONNULL ((2)));
1086 _GL_CXXALIAS_RPL (frexp, double, (double x, int *expptr));
1088 _GL_CXXALIAS_SYS (frexp, double, (double x, int *expptr));
1090 _GL_CXXALIASWARN1 (frexp, double, (double x, int *expptr));
1110 _GL_FUNCDECL_RPL (frexpl, long double,
1111 (long double x, int *expptr) _GL_ARG_NONNULL ((2)));
1112 _GL_CXXALIAS_RPL (frexpl, long double, (long double x, int *expptr));
1115 _GL_FUNCDECL_SYS (frexpl, long double,
1116 (long double x, int *expptr) _GL_ARG_NONNULL ((2)));
1119 _GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr));
1165 _GL_FUNCDECL_RPL (hypot, double, (double x, double y));
1166 _GL_CXXALIAS_RPL (hypot, double, (double x, double y));
1168 _GL_CXXALIAS_SYS (hypot, double, (double x, double y));
1186 _GL_FUNCDECL_RPL (hypotl, long double, (long double x, long double y));
1187 _GL_CXXALIAS_RPL (hypotl, long double, (long double x, long double y));
1190 _GL_FUNCDECL_SYS (hypotl, long double, (long double x, long double y));
1192 _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y));
1233 _GL_FUNCDECL_RPL (ilogb, int, (double x));
1234 _GL_CXXALIAS_RPL (ilogb, int, (double x));
1237 _GL_FUNCDECL_SYS (ilogb, int, (double x));
1239 _GL_CXXALIAS_SYS (ilogb, int, (double x));
1256 _GL_FUNCDECL_RPL (ilogbl, int, (long double x));
1257 _GL_CXXALIAS_RPL (ilogbl, int, (long double x));
1260 _GL_FUNCDECL_SYS (ilogbl, int, (long double x));
1262 _GL_CXXALIAS_SYS (ilogbl, int, (long double x));
1296 _GL_FUNCDECL_RPL (ldexpl, long double, (long double x, int exp));
1297 _GL_CXXALIAS_RPL (ldexpl, long double, (long double x, int exp));
1300 _GL_FUNCDECL_SYS (ldexpl, long double, (long double x, int exp));
1303 _GL_CXXALIAS_SYS (ldexpl, long double, (long double x, int exp));
1348 _GL_FUNCDECL_RPL (log, double, (double x));
1349 _GL_CXXALIAS_RPL (log, double, (double x));
1351 _GL_CXXALIAS_SYS (log, double, (double x));
1368 _GL_FUNCDECL_RPL (logl, long double, (long double x));
1369 _GL_CXXALIAS_RPL (logl, long double, (long double x));
1373 _GL_FUNCDECL_SYS (logl, long double, (long double x));
1375 _GL_CXXALIAS_SYS (logl, long double, (long double x));
1417 _GL_FUNCDECL_RPL (log10, double, (double x));
1418 _GL_CXXALIAS_RPL (log10, double, (double x));
1420 _GL_CXXALIAS_SYS (log10, double, (double x));
1437 _GL_FUNCDECL_RPL (log10l, long double, (long double x));
1438 _GL_CXXALIAS_RPL (log10l, long double, (long double x));
1442 _GL_FUNCDECL_SYS (log10l, long double, (long double x));
1444 _GL_CXXALIAS_SYS (log10l, long double, (long double x));
1485 _GL_FUNCDECL_RPL (log1p, double, (double x));
1486 _GL_CXXALIAS_RPL (log1p, double, (double x));
1489 _GL_FUNCDECL_SYS (log1p, double, (double x));
1491 _GL_CXXALIAS_SYS (log1p, double, (double x));
1508 _GL_FUNCDECL_RPL (log1pl, long double, (long double x));
1509 _GL_CXXALIAS_RPL (log1pl, long double, (long double x));
1512 _GL_FUNCDECL_SYS (log1pl, long double, (long double x));
1514 _GL_CXXALIAS_SYS (log1pl, long double, (long double x));
1556 _GL_FUNCDECL_RPL (log2, double, (double x));
1557 _GL_CXXALIAS_RPL (log2, double, (double x));
1561 _GL_FUNCDECL_SYS (log2, double, (double x));
1563 _GL_CXXALIAS_SYS (log2, double, (double x));
1580 _GL_FUNCDECL_RPL (log2l, long double, (long double x));
1581 _GL_CXXALIAS_RPL (log2l, long double, (long double x));
1584 _GL_FUNCDECL_SYS (log2l, long double, (long double x));
1586 _GL_CXXALIAS_SYS (log2l, long double, (long double x));
1627 _GL_FUNCDECL_RPL (logb, double, (double x));
1628 _GL_CXXALIAS_RPL (logb, double, (double x));
1631 _GL_FUNCDECL_SYS (logb, double, (double x));
1633 _GL_CXXALIAS_SYS (logb, double, (double x));
1650 _GL_FUNCDECL_RPL (logbl, long double, (long double x));
1651 _GL_CXXALIAS_RPL (logbl, long double, (long double x));
1654 _GL_FUNCDECL_SYS (logbl, long double, (long double x));
1656 _GL_CXXALIAS_SYS (logbl, long double, (long double x));
1698 _GL_FUNCDECL_RPL (modf, double, (double x, double *iptr) _GL_ARG_NONNULL ((2)));
1699 _GL_CXXALIAS_RPL (modf, double, (double x, double *iptr));
1701 _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr));
1718 _GL_FUNCDECL_RPL (modfl, long double, (long double x, long double *iptr)
1720 _GL_CXXALIAS_RPL (modfl, long double, (long double x, long double *iptr));
1724 _GL_FUNCDECL_SYS (modfl, long double, (long double x, long double *iptr)
1727 _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr));
1784 _GL_FUNCDECL_RPL (remainder, double, (double x, double y));
1785 _GL_CXXALIAS_RPL (remainder, double, (double x, double y));
1788 _GL_FUNCDECL_SYS (remainder, double, (double x, double y));
1790 _GL_CXXALIAS_SYS (remainder, double, (double x, double y));
1807 _GL_FUNCDECL_RPL (remainderl, long double, (long double x, long double y));
1808 _GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y));
1812 _GL_FUNCDECL_SYS (remainderl, long double, (long double x, long double y));
1814 _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y));
1842 _GL_FUNCDECL_SYS (rint, double, (double x));
1844 _GL_CXXALIAS_SYS (rint, double, (double x));
1860 _GL_FUNCDECL_RPL (rintl, long double, (long double x));
1861 _GL_CXXALIAS_RPL (rintl, long double, (long double x));
1864 _GL_FUNCDECL_SYS (rintl, long double, (long double x));
1866 _GL_CXXALIAS_SYS (rintl, long double, (long double x));
1907 _GL_FUNCDECL_RPL (round, double, (double x));
1908 _GL_CXXALIAS_RPL (round, double, (double x));
1911 _GL_FUNCDECL_SYS (round, double, (double x));
1913 _GL_CXXALIAS_SYS (round, double, (double x));
1930 _GL_FUNCDECL_RPL (roundl, long double, (long double x));
1931 _GL_CXXALIAS_RPL (roundl, long double, (long double x));
1935 _GL_FUNCDECL_SYS (roundl, long double, (long double x));
1937 _GL_CXXALIAS_SYS (roundl, long double, (long double x));
1976 _GL_FUNCDECL_SYS (sinl, long double, (long double x));
1978 _GL_CXXALIAS_SYS (sinl, long double, (long double x));
2044 _GL_FUNCDECL_RPL (sqrtl, long double, (long double x));
2045 _GL_CXXALIAS_RPL (sqrtl, long double, (long double x));
2049 _GL_FUNCDECL_SYS (sqrtl, long double, (long double x));
2051 _GL_CXXALIAS_SYS (sqrtl, long double, (long double x));
2090 _GL_FUNCDECL_SYS (tanl, long double, (long double x));
2092 _GL_CXXALIAS_SYS (tanl, long double, (long double x));
2157 _GL_FUNCDECL_RPL (trunc, double, (double x));
2158 _GL_CXXALIAS_RPL (trunc, double, (double x));
2161 _GL_FUNCDECL_SYS (trunc, double, (double x));
2163 _GL_CXXALIAS_SYS (trunc, double, (double x));
2180 _GL_FUNCDECL_RPL (truncl, long double, (long double x));
2181 _GL_CXXALIAS_RPL (truncl, long double, (long double x));
2184 _GL_FUNCDECL_SYS (truncl, long double, (long double x));
2186 _GL_CXXALIAS_SYS (truncl, long double, (long double x));
2205 _GL_EXTERN_C int gl_isfinited (double x);
2206 _GL_EXTERN_C int gl_isfinitel (long double x);
2209 (sizeof (x) == sizeof (long double) ? gl_isfinitel (x) : \
2210 sizeof (x) == sizeof (double) ? gl_isfinited (x) : \
2232 _GL_EXTERN_C int gl_isinfd (double x);
2233 _GL_EXTERN_C int gl_isinfl (long double x);
2236 (sizeof (x) == sizeof (long double) ? gl_isinfl (x) : \
2237 sizeof (x) == sizeof (double) ? gl_isinfd (x) : \
2278 /* Test for NaN for 'double' numbers.
2280 to 'double' numbers earlier but now is a type-generic macro. */
2287 # define isnand(x) __builtin_isnan ((double)(x))
2290 # define isnand(x) isnan ((double)(x))
2296 _GL_EXTERN_C int isnand (double x);
2301 /* Test for NaN for 'long double' numbers. */
2308 # define isnanl(x) __builtin_isnanl ((long double)(x))
2311 # define isnanl(x) isnan ((long double)(x))
2317 _GL_EXTERN_C int isnanl (long double x) _GL_ATTRIBUTE_CONST;
2335 # define gl_isnan_d(x) __builtin_isnan ((double)(x))
2337 _GL_EXTERN_C int rpl_isnand (double x);
2341 # define gl_isnan_l(x) __builtin_isnanl ((long double)(x))
2343 _GL_EXTERN_C int rpl_isnanl (long double x) _GL_ATTRIBUTE_CONST;
2348 (sizeof (x) == sizeof (long double) ? gl_isnan_l (x) : \
2349 sizeof (x) == sizeof (double) ? gl_isnan_d (x) : \
2354 (sizeof (x) == sizeof (long double) ? __builtin_isnanl ((long double)(x)) : \
2355 sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \
2385 (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
2386 sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
2392 _GL_EXTERN_C int gl_signbitd (double arg);
2393 _GL_EXTERN_C int gl_signbitl (long double arg);
2410 ({ union { double _value; \
2411 unsigned int _word[_GL_NUM_UINT_WORDS (double)]; \
2420 ({ union { long double _value; \
2421 unsigned int _word[_GL_NUM_UINT_WORDS (long double)]; \
2429 (sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \
2430 sizeof (x) == sizeof (double) ? gl_signbitd (x) : \