Changeset View
Changeset View
Standalone View
Standalone View
libcxx/include/numeric
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | template<class T> | ||||
constexpr T* midpoint(T* a, T* b); // C++20 | constexpr T* midpoint(T* a, T* b); // C++20 | ||||
} // std | } // std | ||||
*/ | */ | ||||
#include <__assert> // all public C++ headers provide the assertion handler | #include <__assert> // all public C++ headers provide the assertion handler | ||||
#include <__config> | #include <__config> | ||||
#include <cmath> // for isnormal | |||||
#include <version> | #include <version> | ||||
#include <__numeric/accumulate.h> | #include <__numeric/accumulate.h> | ||||
#include <__numeric/adjacent_difference.h> | #include <__numeric/adjacent_difference.h> | ||||
#include <__numeric/exclusive_scan.h> | #include <__numeric/exclusive_scan.h> | ||||
#include <__numeric/gcd_lcm.h> | #include <__numeric/gcd_lcm.h> | ||||
#include <__numeric/inclusive_scan.h> | #include <__numeric/inclusive_scan.h> | ||||
#include <__numeric/inner_product.h> | #include <__numeric/inner_product.h> | ||||
Show All 9 Lines | |||||
# pragma GCC system_header | # pragma GCC system_header | ||||
#endif | #endif | ||||
#if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17 | #if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17 | ||||
# include <__pstl_numeric> | # include <__pstl_numeric> | ||||
#endif | #endif | ||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 | #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 | ||||
# include <cmath> | |||||
# include <functional> | # include <functional> | ||||
# include <iterator> | # include <iterator> | ||||
#endif | #endif | ||||
#endif // _LIBCPP_NUMERIC | #endif // _LIBCPP_NUMERIC |