Home | History | Annotate | Download | only in v1

Lines Matching refs:_A1

316 template <class _A1>
319 __libcpp_signbit(_A1 __lcpp_x) _NOEXCEPT
326 template <class _A1>
328 typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
329 signbit(_A1 __lcpp_x) _NOEXCEPT
331 return __libcpp_signbit((typename std::__promote<_A1>::type)__lcpp_x);
334 template <class _A1>
337 std::is_integral<_A1>::value && std::is_signed<_A1>::value, bool>::type
338 signbit(_A1 __lcpp_x) _NOEXCEPT
341 template <class _A1>
344 std::is_integral<_A1>::value && !std::is_signed<_A1>::value, bool>::type
345 signbit(_A1) _NOEXCEPT
350 template <typename _A1>
352 typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
353 signbit(_A1 __lcpp_x) _NOEXCEPT
355 return ::signbit(static_cast<typename std::__promote<_A1>::type>(__lcpp_x));
358 template <class _A1>
361 std::is_integral<_A1>::value && std::is_signed<_A1>::value, bool>::type
362 signbit(_A1 __lcpp_x) _NOEXCEPT
365 template <class _A1>
368 std::is_integral<_A1>::value && !std::is_signed<_A1>::value, bool>::type
369 signbit(_A1) _NOEXCEPT
378 template <class _A1>
381 __libcpp_fpclassify(_A1 __lcpp_x) _NOEXCEPT
388 template <class _A1>
390 typename std::enable_if<std::is_floating_point<_A1>::value, int>::type
391 fpclassify(_A1 __lcpp_x) _NOEXCEPT
393 return __libcpp_fpclassify((typename std::__promote<_A1>::type)__lcpp_x);
396 template <class _A1>
398 typename std::enable_if<std::is_integral<_A1>::value, int>::type
399 fpclassify(_A1 __lcpp_x) _NOEXCEPT
404 template <typename _A1>
406 typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
407 fpclassify(_A1 __lcpp_x) _NOEXCEPT
409 return ::fpclassify(static_cast<typename std::__promote<_A1>::type>(__lcpp_x));
412 template <class _A1>
414 typename std::enable_if<std::is_integral<_A1>::value, int>::type
415 fpclassify(_A1 __lcpp_x) _NOEXCEPT
424 template <class _A1>
427 __libcpp_isfinite(_A1 __lcpp_x) _NOEXCEPT
434 template <class _A1>
437 std::is_arithmetic<_A1>::value && std::numeric_limits<_A1>::has_infinity,
439 isfinite(_A1 __lcpp_x) _NOEXCEPT
441 return __libcpp_isfinite((typename std::__promote<_A1>::type)__lcpp_x);
444 template <class _A1>
447 std::is_arithmetic<_A1>::value && !std::numeric_limits<_A1>::has_infinity,
449 isfinite(_A1) _NOEXCEPT
458 template <class _A1>
461 __libcpp_isinf(_A1 __lcpp_x) _NOEXCEPT
468 template <class _A1>
471 std::is_arithmetic<_A1>::value && std::numeric_limits<_A1>::has_infinity,
473 isinf(_A1 __lcpp_x) _NOEXCEPT
475 return __libcpp_isinf((typename std::__promote<_A1>::type)__lcpp_x);
478 template <class _A1>
481 std::is_arithmetic<_A1>::value && !std::numeric_limits<_A1>::has_infinity,
483 isinf(_A1) _NOEXCEPT
492 template <class _A1>
495 __libcpp_isnan(_A1 __lcpp_x) _NOEXCEPT
502 template <class _A1>
504 typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
505 isnan(_A1 __lcpp_x) _NOEXCEPT
507 return __libcpp_isnan((typename std::__promote<_A1>::type)__lcpp_x);
510 template <class _A1>
512 typename std::enable_if<std::is_integral<_A1>::value, bool>::type
513 isnan(_A1) _NOEXCEPT
522 template <class _A1>
525 __libcpp_isnormal(_A1 __lcpp_x) _NOEXCEPT
532 template <class _A1>
534 typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
535 isnormal(_A1 __lcpp_x) _NOEXCEPT
537 return __libcpp_isnormal((typename std::__promote<_A1>::type)__lcpp_x);
540 template <class _A1>
542 typename std::enable_if<std::is_integral<_A1>::value, bool>::type
543 isnormal(_A1 __lcpp_x) _NOEXCEPT
552 template <class _A1, class _A2>
555 __libcpp_isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
562 template <class _A1, class _A2>
566 std::is_arithmetic<_A1>::value &&
570 isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
572 typedef typename std::__promote<_A1, _A2>::type type;
582 template <class _A1, class _A2>
585 __libcpp_isgreaterequal(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
592 template <class _A1, class _A2>
596 std::is_arithmetic<_A1>::value &&
600 isgreaterequal(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
602 typedef typename std::__promote<_A1, _A2>::type type;
612 template <class _A1, class _A2>
615 __libcpp_isless(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
622 template <class _A1, class _A2>
626 std::is_arithmetic<_A1>::value &&
630 isless(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
632 typedef typename std::__promote<_A1, _A2>::type type;
642 template <class _A1, class _A2>
645 __libcpp_islessequal(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
652 template <class _A1, class _A2>
656 std::is_arithmetic<_A1>::value &&
660 islessequal(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
662 typedef typename std::__promote<_A1, _A2>::type type;
672 template <class _A1, class _A2>
675 __libcpp_islessgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
682 template <class _A1, class _A2>
686 std::is_arithmetic<_A1>::value &&
690 islessgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
692 typedef typename std::__promote<_A1, _A2>::type type;
702 template <class _A1, class _A2>
705 __libcpp_isunordered(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
712 template <class _A1, class _A2>
716 std::is_arithmetic<_A1>::value &&
720 isunordered(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
722 typedef typename std::__promote<_A1, _A2>::type type;
751 template <class _A1>
753 typename std::enable_if<std::is_integral<_A1>::value, double>::type
754 acos(_A1 __lcpp_x) _NOEXCEPT {return ::acos((double)__lcpp_x);}
763 template <class _A1>
765 typename std::enable_if<std::is_integral<_A1>::value, double>::type
766 asin(_A1 __lcpp_x) _NOEXCEPT {return ::asin((double)__lcpp_x);}
775 template <class _A1>
777 typename std::enable_if<std::is_integral<_A1>::value, double>::type
778 atan(_A1 __lcpp_x) _NOEXCEPT {return ::atan((double)__lcpp_x);}
787 template <class _A1, class _A2>
791 std::is_arithmetic<_A1>::value &&
793 std::__promote<_A1, _A2>
795 atan2(_A1 __lcpp_y, _A2 __lcpp_x) _NOEXCEPT
797 typedef typename std::__promote<_A1, _A2>::type __result_type;
798 static_assert((!(std::is_same<_A1, __result_type>::value &&
810 template <class _A1>
812 typename std::enable_if<std::is_integral<_A1>::value, double>::type
813 ceil(_A1 __lcpp_x) _NOEXCEPT {return ::ceil((double)__lcpp_x);}
822 template <class _A1>
824 typename std::enable_if<std::is_integral<_A1>::value, double>::type
825 cos(_A1 __lcpp_x) _NOEXCEPT {return ::cos((double)__lcpp_x);}
834 template <class _A1>
836 typename std::enable_if<std::is_integral<_A1>::value, double>::type
837 cosh(_A1 __lcpp_x) _NOEXCEPT {return ::cosh((double)__lcpp_x);}
846 template <class _A1>
848 typename std::enable_if<std::is_integral<_A1>::value, double>::type
849 exp(_A1 __lcpp_x) _NOEXCEPT {return ::exp((double)__lcpp_x);}
858 template <class _A1>
860 typename std::enable_if<std::is_integral<_A1>::value, double>::type
861 fabs(_A1 __lcpp_x) _NOEXCEPT {return ::fabs((double)__lcpp_x);}
870 template <class _A1>
872 typename std::enable_if<std::is_integral<_A1>::value, double>::type
873 floor(_A1 __lcpp_x) _NOEXCEPT {return ::floor((double)__lcpp_x);}
882 template <class _A1, class _A2>
886 std::is_arithmetic<_A1>::value &&
888 std::__promote<_A1, _A2>
890 fmod(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
892 typedef typename std::__promote<_A1, _A2>::type __result_type;
893 static_assert((!(std::is_same<_A1, __result_type>::value &&
905 template <class _A1>
907 typename std::enable_if<std::is_integral<_A1>::value, double>::type
908 frexp(_A1 __lcpp_x, int* __lcpp_e) _NOEXCEPT {return ::frexp((double)__lcpp_x, __lcpp_e);}
917 template <class _A1>
919 typename std::enable_if<std::is_integral<_A1>::value, double>::type
920 ldexp(_A1 __lcpp_x, int __lcpp_e) _NOEXCEPT {return ::ldexp((double)__lcpp_x, __lcpp_e);}
929 template <class _A1>
931 typename std::enable_if<std::is_integral<_A1>::value, double>::type
932 log(_A1 __lcpp_x) _NOEXCEPT {return ::log((double)__lcpp_x);}
941 template <class _A1>
943 typename std::enable_if<std::is_integral<_A1>::value, double>::type
944 log10(_A1 __lcpp_x) _NOEXCEPT {return ::log10((double)__lcpp_x);}
960 template <class _A1, class _A2>
964 std::is_arithmetic<_A1>::value &&
966 std::__promote<_A1, _A2>
968 pow(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
970 typedef typename std::__promote<_A1, _A2>::type __result_type;
971 static_assert((!(std::is_same<_A1, __result_type>::value &&
983 template <class _A1>
985 typename std::enable_if<std::is_integral<_A1>::value, double>::type
986 sin(_A1 __lcpp_x) _NOEXCEPT {return ::sin((double)__lcpp_x);}
995 template <class _A1>
997 typename std::enable_if<std::is_integral<_A1>::value, double>::type
998 sinh(_A1 __lcpp_x) _NOEXCEPT {return ::sinh((double)__lcpp_x);}
1007 template <class _A1>
1009 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1010 sqrt(_A1 __lcpp_x) _NOEXCEPT {return ::sqrt((double)__lcpp_x);}
1019 template <class _A1>
1021 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1022 tan(_A1 __lcpp_x) _NOEXCEPT {return ::tan((double)__lcpp_x);}
1031 template <class _A1>
1033 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1034 tanh(_A1 __lcpp_x) _NOEXCEPT {return ::tanh((double)__lcpp_x);}
1041 template <class _A1>
1043 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1044 acosh(_A1 __lcpp_x) _NOEXCEPT {return ::acosh((double)__lcpp_x);}
1051 template <class _A1>
1053 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1054 asinh(_A1 __lcpp_x) _NOEXCEPT {return ::asinh((double)__lcpp_x);}
1061 template <class _A1>
1063 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1064 atanh(_A1 __lcpp_x) _NOEXCEPT {return ::atanh((double)__lcpp_x);}
1071 template <class _A1>
1073 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1074 cbrt(_A1 __lcpp_x) _NOEXCEPT {return ::cbrt((double)__lcpp_x);}
1087 template <class _A1, class _A2>
1091 std::is_arithmetic<_A1>::value &&
1093 std::__promote<_A1, _A2>
1095 copysign(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1097 typedef typename std::__promote<_A1, _A2>::type __result_type;
1098 static_assert((!(std::is_same<_A1, __result_type>::value &&
1108 template <class _A1>
1110 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1111 erf(_A1 __lcpp_x) _NOEXCEPT {return ::erf((double)__lcpp_x);}
1118 template <class _A1>
1120 _A1>::value, double>::type
1121 erfc(_A1 __lcpp_x) _NOEXCEPT {return ::erfc((double)__lcpp_x);}
1128 template <class _A1>
1130 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1131 exp2(_A1 __lcpp_x) _NOEXCEPT {return ::exp2((double)__lcpp_x);}
1138 template <class _A1>
1140 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1141 expm1(_A1 __lcpp_x) _NOEXCEPT {return ::expm1((double)__lcpp_x);}
1148 template <class _A1, class _A2>
1152 std::is_arithmetic<_A1>::value &&
1154 std::__promote<_A1, _A2>
1156 fdim(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1158 typedef typename std::__promote<_A1, _A2>::type __result_type;
1159 static_assert((!(std::is_same<_A1, __result_type>::value &&
1169 template <class _A1, class _A2, class _A3>
1173 std::is_arithmetic<_A1>::value &&
1176 std::__promote<_A1, _A2, _A3>
1178 fma(_A1 __lcpp_x, _A2 __lcpp_y, _A3 __lcpp_z) _NOEXCEPT
1180 typedef typename std::__promote<_A1, _A2, _A3>::type __result_type;
1181 static_assert((!(std::is_same<_A1, __result_type>::value &&
1192 template <class _A1, class _A2>
1196 std::is_arithmetic<_A1>::value &&
1198 std::__promote<_A1, _A2>
1200 fmax(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1202 typedef typename std::__promote<_A1, _A2>::type __result_type;
1203 static_assert((!(std::is_same<_A1, __result_type>::value &&
1213 template <class _A1, class _A2>
1217 std::is_arithmetic<_A1>::value &&
1219 std::__promote<_A1, _A2>
1221 fmin(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1223 typedef typename std::__promote<_A1, _A2>::type __result_type;
1224 static_assert((!(std::is_same<_A1, __result_type>::value &&
1234 template <class _A1, class _A2>
1238 std::is_arithmetic<_A1>::value &&
1240 std::__promote<_A1, _A2>
1242 hypot(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1244 typedef typename std::__promote<_A1, _A2>::type __result_type;
1245 static_assert((!(std::is_same<_A1, __result_type>::value &&
1255 template <class _A1>
1257 typename std::enable_if<std::is_integral<_A1>::value, int>::type
1258 ilogb(_A1 __lcpp_x) _NOEXCEPT {return ::ilogb((double)__lcpp_x);}
1265 template <class _A1>
1267 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1268 lgamma(_A1 __lcpp_x) _NOEXCEPT {return ::lgamma((double)__lcpp_x);}
1275 template <class _A1>
1277 typename std::enable_if<std::is_integral<_A1>::value, long long>::type
1278 llrint(_A1 __lcpp_x) _NOEXCEPT {return ::llrint((double)__lcpp_x);}
1285 template <class _A1>
1287 typename std::enable_if<std::is_integral<_A1>::value, long long>::type
1288 llround(_A1 __lcpp_x) _NOEXCEPT {return ::llround((double)__lcpp_x);}
1295 template <class _A1>
1297 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1298 log1p(_A1 __lcpp_x) _NOEXCEPT {return ::log1p((double)__lcpp_x);}
1305 template <class _A1>
1307 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1308 log2(_A1 __lcpp_x) _NOEXCEPT {return ::log2((double)__lcpp_x);}
1315 template <class _A1>
1317 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1318 logb(_A1 __lcpp_x) _NOEXCEPT {return ::logb((double)__lcpp_x);}
1325 template <class _A1>
1327 typename std::enable_if<std::is_integral<_A1>::value, long>::type
1328 lrint(_A1 __lcpp_x) _NOEXCEPT {return ::lrint((double)__lcpp_x);}
1335 template <class _A1>
1337 typename std::enable_if<std::is_integral<_A1>::value, long>::type
1338 lround(_A1 __lcpp_x) _NOEXCEPT {return ::lround((double)__lcpp_x);}
1347 template <class _A1>
1349 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1350 nearbyint(_A1 __lcpp_x) _NOEXCEPT {return ::nearbyint((double)__lcpp_x);}
1357 template <class _A1, class _A2>
1361 std::is_arithmetic<_A1>::value &&
1363 std::__promote<_A1, _A2>
1365 nextafter(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1367 typedef typename std::__promote<_A1, _A2>::type __result_type;
1368 static_assert((!(std::is_same<_A1, __result_type>::value &&
1378 template <class _A1>
1380 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1381 nexttoward(_A1 __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::nexttoward((double)__lcpp_x, __lcpp_y);}
1388 template <class _A1, class _A2>
1392 std::is_arithmetic<_A1>::value &&
1394 std::__promote<_A1, _A2>
1396 remainder(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1398 typedef typename std::__promote<_A1, _A2>::type __result_type;
1399 static_assert((!(std::is_same<_A1, __result_type>::value &&
1409 template <class _A1, class _A2>
1413 std::is_arithmetic<_A1>::value &&
1415 std::__promote<_A1, _A2>
1417 remquo(_A1 __lcpp_x, _A2 __lcpp_y, int* __lcpp_z) _NOEXCEPT
1419 typedef typename std::__promote<_A1, _A2>::type __result_type;
1420 static_assert((!(std::is_same<_A1, __result_type>::value &&
1430 template <class _A1>
1432 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1433 rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
1440 template <class _A1>
1442 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1443 round(_A1 __lcpp_x) _NOEXCEPT {return ::round((double)__lcpp_x);}
1450 template <class _A1>
1452 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1453 scalbln(_A1 __lcpp_x, long __lcpp_y) _NOEXCEPT {return ::scalbln((double)__lcpp_x, __lcpp_y);}
1460 template <class _A1>
1462 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1463 scalbn(_A1 __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbn((double)__lcpp_x, __lcpp_y);}
1470 template <class _A1>
1472 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1473 tgamma(_A1 __lcpp_x) _NOEXCEPT {return ::tgamma((double)__lcpp_x);}
1480 template <class _A1>
1482 typename std::enable_if<std::is_integral<_A1>::value, double>::type
1483 trunc(_A1 __lcpp_x) _NOEXCEPT {return ::trunc((double)__lcpp_x);}