module
normalize_angle_signed()Normalizes angles, wrapping their values to the range [-pi, pi)
.
Functions
- auto normalize_angle_signed(half x) -> half constexpr noexcept
- Normalizes the angle value of a half-precision float.
- auto normalize_angle_signed(float x) -> float constexpr noexcept
- Normalizes the angle value of a float.
- auto normalize_angle_signed(double x) -> double constexpr noexcept
- Normalizes the angle value of a double.
- auto normalize_angle_signed(long double x) -> long double constexpr noexcept
- Normalizes the angle value of a long double.
- auto normalize_angle_signed(float128_t x) -> float128_t constexpr noexcept
- Normalizes the angle value of a float128_t.
- auto normalize_angle_signed(_Float16 x) -> _Float16 constexpr noexcept
- Normalizes the angle value of a _Float16.
-
template <typename T>auto normalize_angle_signed(T x) -> double constexpr noexcept
- Normalizes the angle of an integer.
Function documentation
half normalize_angle_signed(half x) constexpr noexcept
#include <muu/half.h>
Normalizes the angle value of a half-precision float.
float normalize_angle_signed(float x) constexpr noexcept
#include <muu/math.h>
Normalizes the angle value of a float.
double normalize_angle_signed(double x) constexpr noexcept
#include <muu/math.h>
Normalizes the angle value of a double.
long double normalize_angle_signed(long double x) constexpr noexcept
#include <muu/math.h>
Normalizes the angle value of a long double.
float128_t normalize_angle_signed(float128_t x) constexpr noexcept
#include <muu/math.h>
Normalizes the angle value of a float128_t.
_Float16 normalize_angle_signed(_Float16 x) constexpr noexcept
#include <muu/math.h>
Normalizes the angle value of a _Float16.
#include <muu/math.h>
template <typename T>
double normalize_angle_signed(T x) constexpr noexcept
Normalizes the angle of an integer.