Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file. 13 #ifndef TLX_MATH_SGN_HEADER 14 #define TLX_MATH_SGN_HEADER 28 return (
T(0) < val) - (val <
T(0));
35 #endif // !TLX_MATH_SGN_HEADER
int sgn(const T &val)
sgn() - signum