#include <algorithm>
#include <geometry/seg.h>
#include <math/util.h>
#include <math/vector2d.h>
#include <trigo.h>
Go to the source code of this file.
|
template<typename T > |
int | sgn (T aVal) |
|
template<typename T > |
constexpr T | sqrt_helper (T x, T lo, T hi) |
|
template<typename T > |
constexpr T | ct_sqrt (T x) |
|
template<typename T > |
T | isqrt (T x) |
|
◆ ct_sqrt()
template<typename T >
constexpr T ct_sqrt |
( |
T |
x | ) |
|
|
constexpr |
◆ isqrt()
◆ sgn()
◆ sqrt_helper()
template<typename T >
constexpr T sqrt_helper |
( |
T |
x, |
|
|
T |
lo, |
|
|
T |
hi |
|
) |
| |
|
constexpr |
◆ sqrt_max_typed
template<typename T >
constexpr T sqrt_max_typed = ct_sqrt( std::numeric_limits<T>::max() ) |
|
staticconstexpr |