Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylan-sutton-chavez/edge-python
/ gamma
Function
gamma
std/math/src/main/float.rs:164–168 ·
view source on GitHub ↗
(x: f64)
Source
from the content-addressed store, hash-verified
162
163
#[plugin_fn]
164
fn gamma(x: f64) -> Result<f64> {
165
let r = libm::tgamma(x);
166
if r.is_nan() && !x.is_nan() { return Err(dom()); }
167
Ok(r)
168
}
169
170
#[plugin_fn]
171
fn lgamma(x: f64) -> Result<f64> {
Callers
nothing calls this directly
Calls
1
dom
Function · 0.70
Tested by
no test coverage detected