Sign functionFonction signe
Function returning minus 1, zero or plus 1
In mathematics, the sign function or signum function is a function that has the value −1, +1 or 0 according to whether the sign of a given real number is positive or negative, or the given number is itself zero.La fonction signe, ou signum en latin, souvent représentée sgn dans les expressions, est une fonction mathématique qui, en quelque sorte, extrait le signe d'un nombre réel, c'est-à-dire que l'image d'un nombre par cette application est 1…
