Sign value.
Return the sign of the value argument (-1, 0, or 1). Any scalar type can be passed into this function.