sgn( x )

The signum of x in SageMath. Alias of sign.

Examples:

Related functions:   sign   abs

Function category: basic functions sagemath-docs