CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Primitive predicate float::signum

Returns the sign of the receiver: zero if it is zero, 1.0 if it is greater than zero, -1.0 if it is less than zero.

float signum()