View all comments
Feature gate: #![feature(float_gamma)]
This is a tracking issue for adding the gamma and log-gamma functions to f32 and f64 (tgammaf, tgamma, lgammaf_r, and lgamma_f from C).
Refs:
Public API
impl f32 {
pub fn gamma(self) -> f32;
pub fn ln_gamma(self) -> (f32, i32);
}
impl f64 {
pub fn gamma(self) -> f64;
pub fn ln_gamma(self) -> (f64, i32);
}
Steps / History
Unresolved Questions
View all comments
Feature gate:
#![feature(float_gamma)]This is a tracking issue for adding the gamma and log-gamma functions to
f32andf64(tgammaf,tgamma,lgammaf_r, andlgamma_ffrom C).Refs:
Public API
Steps / History
Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩