PlayRho  2.0.0
An interactive physics engine & library.
CheckedMath.hpp File Reference

Conventional math functions for the Checked class template. More...

#include <cmath>
#include <playrho/detail/Checked.hpp>
Include dependency graph for CheckedMath.hpp:

Namespaces

 playrho
 
 playrho::detail
 

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...
 

Detailed Description

Conventional math functions for the Checked class template.