MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _mul1220

Function _mul1220

lib/matplotlib/dviread.py:950–953  ·  view source on GitHub ↗

Multiply two numbers in 12.20 fixed point format.

(num1, num2)

Source from the content-addressed store, hash-verified

948
949
950def _mul1220(num1, num2):
951 """Multiply two numbers in 12.20 fixed point format."""
952 # Separated into a function because >> has surprising precedence
953 return (num1*num2) >> 20
954
955
956@dataclasses.dataclass(frozen=True, kw_only=True)

Callers 3

_put_char_realMethod · 0.85
_width_ofMethod · 0.85
_height_depth_ofMethod · 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…