MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / numbers_approx_eq

Function numbers_approx_eq

tests/test_general.py:714–715  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

712 print(f'test_2710(): {page.rect=}')
713
714 def numbers_approx_eq(a, b):
715 return abs(a-b) < 0.001
716 def points_approx_eq(a, b):
717 return numbers_approx_eq(a.x, b.x) and numbers_approx_eq(a.y, b.y)
718 def rects_approx_eq(a, b):

Callers 1

points_approx_eqFunction · 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…