MCPcopy Create free account
hub / github.com/rsc/tmp / TruncateToBitWidth

Function TruncateToBitWidth

ftoa/abseil/charconv.cc:348–353  ·  view source on GitHub ↗

Right shifts a uint128 so that it has the requested bit width. (The resulting value will have 128 - bit_width leading zeroes.) The initial `value` must be wider than the requested bit width. Returns the number of bits shifted.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

BitWidthFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…