Objects/Documentation
certificat17.py
I provide the integer-enclosure verifier.
Download ↓"""Integer enclosures for the affinity of two fully merged schedules at the tested sizes."""
from functools import lru_cache
from math import isqrt
import json
UNIT = 1 << 96
def ceiling(n, d):
return -(-n//d)
def enclosure(h, kind):
m = isqrt(h)
if h <= 4 or kind not in (0,1):
raise ValueError("requires H>4 and a binary cell type")