Template:sgn

From sona pona, the Toki Pona wiki

Documentation[edit source]

Calculates the sign function of a number or expression, normalizing it to 1, 0, or -1.