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

Function ceil

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

Source from the content-addressed store, hash-verified

225
226#[plugin_fn]
227fn ceil(x: f64) -> Result<i128> { to_int(libm::ceil(x)) }
228
229#[plugin_fn]
230fn trunc(x: f64) -> Result<i128> { to_int(libm::trunc(x)) }

Callers

nothing calls this directly

Calls 1

to_intFunction · 0.85

Tested by

no test coverage detected