CodeQL library for Python
codeql/python-all 1.0.1 (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()