sign

Contents

sign#

sign(input)[source]#

Returns the sign of a number (-1, 0, or 1).