MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / frac_string

Function frac_string

ar.py:73–75  ·  view source on GitHub ↗
(f: frac)

Source from the content-addressed store, hash-verified

71
72
73def frac_string(f: frac) -> str:
74 n, d = get_quotient(f)
75 return f'{n}/{d}'
76
77
78def hashed(e: dict[str, float]) -> tuple[tuple[str, float], ...]:

Callers

nothing calls this directly

Calls 1

get_quotientFunction · 0.85

Tested by

no test coverage detected