NXPCUP-libary
Library for car's control board on NXPCUP competition based on the Mbed framework.
Namespaces | Functions
util.h File Reference

Go to the source code of this file.

Namespaces

 nxpcup
 

Functions

template<typename T >
nxpcup::clamp (T value, T min, T max)
 
template<typename T >
nxpcup::abs (const T &v)
 
template<typename T >
nxpcup::sign (const T &v)
 
template<typename T >
nxpcup::pow (T base, uint8_t exp=2)