sign( x )

The signum of x in SageMath. Alias of sgn.

Examples:

Related functions:   sgn   abs

Function category: basic functions sagemath-docs