MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _round_up

Function _round_up

SLiCAP/schematic/subcircuit.py:94–95  ·  view source on GitHub ↗
(v: float, m: float)

Source from the content-addressed store, hash-verified

92
93
94def _round_up(v: float, m: float) -> float:
95 return math.ceil(v / m) * m
96
97
98def _side_counts(n: int) -> list[int]:

Callers 1

_min_halfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected