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

Degree 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/Degree.inl>

Go to the source code of this file.

Classes

class  SA::Deg< T >
 Maths Degree type. More...
 

Typedefs

using SA::Degf = Deg<float>
 Alias for float Deg.
 
using SA::Degd = Deg<double>
 Alias for double Deg.
 
template<typename T >
using SA::Degree = Deg<T>
 Template alias of Deg.
 

Functions

constexpr Degf SA::operator""_deg (unsigned long long _lit) noexcept
 _deg literal operator.
 
constexpr Degd SA::operator""_deg (long double _lit) noexcept
 _deg literal operator.
 

Detailed Description

Degree type implementation.

Function Documentation

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

constexpr Degd SA::operator""_deg ( long double _lit)
constexprnoexcept

_deg literal operator.

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

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

constexpr Degf SA::operator""_deg ( unsigned long long _lit)
constexprnoexcept

_deg literal operator.

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