4#ifndef TETL_CMATH_SQRT_HPP
5#define TETL_CMATH_SQRT_HPP
7#include <etl/_3rd_party/gcem/gcem.hpp>
8#include <etl/_concepts/integral.hpp>
17 return etl::detail::gcem::sqrt(arg);
25 return etl::detail::gcem::sqrt(arg);
33 return etl::detail::gcem::sqrt(arg);
39[[
nodiscard]]
constexpr auto sqrt(
long double arg)
noexcept ->
long double
41 return etl::detail::gcem::sqrt(arg);
49 return etl::detail::gcem::sqrt(arg);
56[[nodiscard]]
constexpr auto sqrt(T arg)
noexcept ->
double
58 return etl::detail::gcem::sqrt(
static_cast<
double>(arg));
constexpr auto sqrtl(long double arg) noexcept -> long double
Computes the square root of arg.
Definition sqrt.hpp:47
constexpr auto sqrt(long double arg) noexcept -> long double
Computes the square root of arg.
Definition sqrt.hpp:39
constexpr auto sqrt(T arg) noexcept -> double
Computes the square root of arg.
Definition sqrt.hpp:56
constexpr auto sqrt(double arg) noexcept -> double
Computes the square root of arg.
Definition sqrt.hpp:31
constexpr auto sqrtf(float arg) noexcept -> float
Computes the square root of arg.
Definition sqrt.hpp:23
constexpr auto sqrt(float arg) noexcept -> float
Computes the square root of arg.
Definition sqrt.hpp:15
Definition adjacent_find.hpp:9