function template · 18 overloads
std::hypot
- Header
<cmath>- Draft
- [cmath.syn]
- Scope
std- cppreference
- std::hypot
Overloads
- (1)
template<class T = /* implementation-defined */> requires fp-is<T, bfloat16> constexpr T hypot(T x, T y) noexcept; - (2)
template<class T = /* implementation-defined */> requires fp-is<T, float16> constexpr T hypot(T x, T y) noexcept; - (3)
template<class T = /* implementation-defined */> requires fp-is<T, float32> constexpr T hypot(T x, T y) noexcept; - (4)
template<class T = /* implementation-defined */> requires fp-is<T, float64> constexpr T hypot(T x, T y) noexcept; - (5)
template<class T = /* implementation-defined */> requires fp-is<T, y-float128> constexpr T hypot(T x, T y) noexcept; - (6)
template<class T = double> requires fp-is<T, double> constexpr T hypot(T x, T y) noexcept; - (7)
template<class T = float> requires fp-is<T, float> constexpr T hypot(T x, T y) noexcept; - (8)
template<class T = long double> requires fp-is<T, long double> constexpr T hypot(T x, T y) noexcept; - (9)
template<class A, class B> requires cmath-mixed<A, B> constexpr /* implementation-defined */ hypot(A x, B y) noexcept; - (10)
template<class T = /* implementation-defined */> requires fp-is<T, bfloat16> constexpr T hypot(T x, T y, T z) noexcept; - (11)
template<class T = /* implementation-defined */> requires fp-is<T, float16> constexpr T hypot(T x, T y, T z) noexcept; - (12)
template<class T = /* implementation-defined */> requires fp-is<T, float32> constexpr T hypot(T x, T y, T z) noexcept; - (13)
template<class T = /* implementation-defined */> requires fp-is<T, float64> constexpr T hypot(T x, T y, T z) noexcept; - (14)
template<class T = /* implementation-defined */> requires fp-is<T, y-float128> constexpr T hypot(T x, T y, T z) noexcept; - (15)
template<class T = double> requires fp-is<T, double> constexpr T hypot(T x, T y, T z) noexcept; - (16)
template<class T = float> requires fp-is<T, float> constexpr T hypot(T x, T y, T z) noexcept; - (17)
template<class T = long double> requires fp-is<T, long double> constexpr T hypot(T x, T y, T z) noexcept; - (18)
template<class A, class B, class C> requires cmath-mixed<A, B, C> constexpr /* implementation-defined */ hypot(A x, B y, C z) noexcept;