chickadee » statistics » sign

sign nprocedure

returns 0, 1 or -1 according to if n is zero, positive or negative.