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

Method __floor__

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

Source from the content-addressed store, hash-verified

297
298 #[pymethod]
299 fn __floor__(&self, vm: &VirtualMachine) -> PyResult<BigInt> {
300 try_to_bigint(self.value.floor(), vm)
301 }
302
303 #[pymethod]
304 fn __ceil__(&self, vm: &VirtualMachine) -> PyResult<BigInt> {

Callers

nothing calls this directly

Calls 1

try_to_bigintFunction · 0.85

Tested by

no test coverage detected