MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _rshift_nearest

Function _rshift_nearest

Lib/decimal.py:5530–5536  ·  view source on GitHub ↗

Given an integer x and a nonnegative integer shift, return closest integer to x / 2**shift; use round-to-even in case of a tie.

(x, shift)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_ilogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected