Common Mathematical Functions For Checked Types. More...
Functions | |
template<class ValueType , class Checker , bool NoExcept> | |
auto | playrho::detail::abs (const Checked< ValueType, Checker, NoExcept > &arg) -> decltype(Checked< ValueType, Checker, false >(abs(arg.get()))) |
Computes the absolute value. More... | |
template<class ValueType , class Checker , bool NoExcept> | |
auto | playrho::detail::nextafter (const Checked< ValueType, Checker, NoExcept > &from, const Checked< ValueType, Checker, NoExcept > &to) -> decltype(Checked< ValueType, Checker, false >(nextafter(from.get(), to.get()))) |
Next after function. More... | |
Common Mathematical Functions For Checked Types.
auto playrho::detail::abs | ( | const Checked< ValueType, Checker, NoExcept > & | arg | ) | -> decltype(Checked<ValueType, Checker, false>(abs(arg.get()))) |
Computes the absolute value.
auto playrho::detail::nextafter | ( | const Checked< ValueType, Checker, NoExcept > & | from, |
const Checked< ValueType, Checker, NoExcept > & | to | ||
) | -> decltype(Checked<ValueType, Checker, false>(nextafter(from.get(), to.get()))) |
Next after function.
Referenced by playrho::AlmostEqual(), playrho::d2::UnitVec::Get(), playrho::ToiOutput::GetToiViaSat(), playrho::StepConf::IsMaxTranslationWithinTolerance(), playrho::detail::UnitMagnitudeChecker< T >::operator()(), and playrho::d2::DistanceProxy::RayCast().