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

Function lgamma

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

Source from the content-addressed store, hash-verified

169
170#[plugin_fn]
171fn lgamma(x: f64) -> Result<f64> {
172 let r = libm::lgamma(x);
173 if r.is_nan() && !x.is_nan() { return Err(dom()); }
174 Ok(r)
175}
176
177/* Floating-point manipulation and classification */
178

Callers

nothing calls this directly

Calls 1

domFunction · 0.70

Tested by

no test coverage detected