WPILibC++ 2023.4.3-108-ge5452e3
|
Go to the source code of this file.
Namespaces | |
namespace | internal |
Functions | |
template<typename T > | |
constexpr T | internal::asin_compute (const T x) noexcept |
template<typename T > | |
constexpr T | internal::asin_check (const T x) noexcept |
template<typename T > | |
constexpr return_t< T > | asin (const T x) noexcept |
Compile-time arcsine function. More... | |
|
constexprnoexcept |
Compile-time arcsine function.
x | a real-valued input, where \( x \in [-1,1] \). |
\[ \text{asin}(x) = \text{atan} \left( \frac{x}{\sqrt{1-x^2}} \right) \]