MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / leanpy_box_float

Function leanpy_box_float

LeanPy/native/python_bridge.c:197–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195LEAN_EXPORT lean_object * leanpy_box_uint64(uint64_t v) { return lean_box_uint64(v); }
196LEAN_EXPORT uint64_t leanpy_unbox_uint64(b_lean_obj_arg o) { return lean_unbox_uint64(o); }
197LEAN_EXPORT lean_object * leanpy_box_float(double v) { return lean_box_float(v); }
198LEAN_EXPORT double leanpy_unbox_float(b_lean_obj_arg o) { return lean_unbox_float(o); }
199
200LEAN_EXPORT lean_object * leanpy_int_to_int(int n) { return lean_int_to_int(n); }

Callers

nothing calls this directly

Calls 1

lean_box_floatFunction · 0.85

Tested by

no test coverage detected