WPILibC++ 2024.3.2
sqrt.hpp File Reference
#include <cmath>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  gcem
 
namespace  gcem::internal
 

Functions

template<typename T >
constexpr T gcem::internal::sqrt_recur (const T x, const T xn, const int count) noexcept
 
template<typename T >
constexpr T gcem::internal::sqrt_simplify (const T x, const T m_val) noexcept
 
template<typename T >
constexpr T gcem::internal::sqrt_check (const T x) noexcept
 
template<typename T >
constexpr return_t< T > gcem::sqrt (const T x) noexcept
 Compile-time square-root function. More...