SA_Maths
Sapphire Suite's C++ Maths Library
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
Radian.hpp File Reference

Radian type implementation. More...

#include <cmath>
#include <SA/Maths/Debug.hpp>
#include <SA/Maths/Angle/Constants.hpp>
#include <SA/Maths/Algorithms/Equals.hpp>
#include <SA/Maths/Angle/Radian.inl>

Go to the source code of this file.

Classes

class  SA::Rad< T >
 Maths Radian type. More...
 

Typedefs

using SA::Radf = Rad<float>
 Alias for float Rad.
 
using SA::Radd = Rad<double>
 Alias for double Rad.
 
template<typename T >
using SA::Radian = Rad<T>
 Template alias of Rad.
 

Functions

constexpr Radf SA::operator""_rad (unsigned long long _lit) noexcept
 _rad literal operator.
 
constexpr Radd SA::operator""_rad (long double _lit) noexcept
 _rad literal operator.
 

Detailed Description

Radian type implementation.

Function Documentation

◆ operator""_rad() [1/2]

constexpr Radd SA::operator""_rad ( long double _lit)
constexprnoexcept

_rad literal operator.

Parameters
[in]_litOperand to convert to Radian.
Returns
Radian without maths-conversion.

◆ operator""_rad() [2/2]

constexpr Radf SA::operator""_rad ( unsigned long long _lit)
constexprnoexcept

_rad literal operator.

Parameters
[in]_litOperand to convert to Radian.
Returns
Radian without maths-conversion.