MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / floor

Function floor

std/math/src/main/float.rs:224–224  ·  view source on GitHub ↗
(x: f64)

Source from the content-addressed store, hash-verified

222
223#[plugin_fn]
224fn floor(x: f64) -> Result<i128> { to_int(libm::floor(x)) }
225
226#[plugin_fn]
227fn ceil(x: f64) -> Result<i128> { to_int(libm::ceil(x)) }

Callers 2

froundFunction · 0.85
ffloorFunction · 0.85

Calls 1

to_intFunction · 0.85

Tested by

no test coverage detected