3#ifndef TETL_CMATH_HYPOT_HPP
4#define TETL_CMATH_HYPOT_HPP
17inline constexpr struct hypot {
18 template <
typename Float>
19 [[nodiscard]]
constexpr auto operator()(Float x, Float y)
const noexcept -> Float
30 template <
typename Float>
31 [[nodiscard]]
constexpr auto operator()(Float x, Float y, Float z)
const noexcept -> Float
57[[nodiscard]]
constexpr auto hypot(
float x,
float y)
noexcept ->
float {
return etl::detail::hypot(x, y); }
59[[nodiscard]]
constexpr auto hypotf(
float x,
float y)
noexcept ->
float {
return etl::detail::hypot(x, y); }
61[[nodiscard]]
constexpr auto hypot(
double x,
double y)
noexcept ->
double {
return etl::detail::hypot(x, y); }
63[[nodiscard]]
constexpr auto hypot(
long double x,
long double y)
noexcept ->
long double
65 return etl::detail::hypot(x, y);
68[[nodiscard]]
constexpr auto hypotl(
long double x,
long double y)
noexcept ->
long double
70 return etl::detail::hypot(x, y);
73[[nodiscard]]
constexpr auto hypot(
float x,
float y,
float z)
noexcept ->
float {
return etl::detail::hypot(x, y, z); }
75[[nodiscard]]
constexpr auto hypot(
double x,
double y,
double z)
noexcept ->
double
77 return etl::detail::hypot(x, y, z);
80[[nodiscard]]
constexpr auto hypot(
long double x,
long double y,
long double z)
noexcept ->
long double
82 return etl::detail::hypot(x, y, z);
constexpr auto hypotf(float x, float y) noexcept -> float
Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at...
Definition hypot.hpp:59
constexpr auto hypotl(long double x, long double y) noexcept -> long double
Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at...
Definition hypot.hpp:68
constexpr auto sqrt(float arg) noexcept -> float
Computes the square root of arg.
Definition sqrt.hpp:14
constexpr auto hypot(float x, float y) noexcept -> float
Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at...
Definition hypot.hpp:57
Definition adjacent_find.hpp:8
constexpr auto isinf(half arg) noexcept -> bool
Definition half.hpp:54
constexpr auto isnan(half arg) noexcept -> bool
Definition half.hpp:60
static constexpr auto infinity() noexcept -> T
Definition numeric_limits.hpp:46
static constexpr auto quiet_NaN() noexcept -> T
Definition numeric_limits.hpp:47