MCPcopy Index your code
hub / github.com/RustPython/RustPython / __ceil__

Method __ceil__

crates/vm/src/builtins/float.rs:304–306  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

302
303 #[pymethod]
304 fn __ceil__(&self, vm: &VirtualMachine) -> PyResult<BigInt> {
305 try_to_bigint(self.value.ceil(), vm)
306 }
307
308 #[pymethod]
309 fn __round__(&self, ndigits: OptionalOption<PyIntRef>, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

try_to_bigintFunction · 0.85

Tested by

no test coverage detected