MCPcopy Create free account
hub / github.com/python/cpython / _signed

Function _signed

Tools/jit/_stencils.py:415–419  ·  view source on GitHub ↗
(value: int)

Source from the content-addressed store, hash-verified

413
414
415def _signed(value: int) -> int:
416 value %= 1 << 64
417 if value & (1 << 63):
418 value -= 1 << 64
419 return value

Callers 2

as_cMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…