3#ifndef TETL_CMATH_SQRT_HPP
4#define TETL_CMATH_SQRT_HPP
6#include <etl/_3rd_party/gcem/gcem.hpp>
14[[nodiscard]]
constexpr auto sqrt(
float arg)
noexcept ->
float {
return etl::detail::gcem::sqrt(
arg); }
19[[nodiscard]]
constexpr auto sqrtf(
float arg)
noexcept ->
float {
return etl::detail::gcem::sqrt(
arg); }
24[[nodiscard]]
constexpr auto sqrt(
double arg)
noexcept ->
double {
return etl::detail::gcem::sqrt(
arg); }
29[[nodiscard]]
constexpr auto sqrt(
long double arg)
noexcept ->
long double {
return etl::detail::gcem::sqrt(
arg); }
34[[nodiscard]]
constexpr auto sqrtl(
long double arg)
noexcept ->
long double {
return etl::detail::gcem::sqrt(
arg); }
40[[nodiscard]]
constexpr auto sqrt(T
arg)
noexcept ->
double
42 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:34
constexpr auto sqrtf(float arg) noexcept -> float
Computes the square root of arg.
Definition sqrt.hpp:19
constexpr auto sqrt(float arg) noexcept -> float
Computes the square root of arg.
Definition sqrt.hpp:14
constexpr auto arg(complex< T > const &z) noexcept -> T
Definition arg.hpp:15
Definition adjacent_find.hpp:8