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

Function leanpy_unbox_float

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

Source from the content-addressed store, hash-verified

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); }
201LEAN_EXPORT lean_object * leanpy_int64_to_int(int64_t n) { return lean_int64_to_int(n); }

Callers

nothing calls this directly

Calls 1

lean_unbox_floatFunction · 0.85

Tested by

no test coverage detected