5 #ifndef __pinocchio_math_sign_hpp__
6 #define __pinocchio_math_sign_hpp__
13 template<
typename Scalar>
14 Scalar
sign(
const Scalar & t)
16 return (t > Scalar(0)) - (t < Scalar(0));
Main pinocchio namespace.
Scalar sign(const Scalar &t)
Returns the robust sign of t.