-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-floating-pointArea: Floating point numbers and arithmeticArea: Floating point numbers and arithmeticC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
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
- Implementation: Add gamma function to f32 and f64 #99747
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None
Footnotes
joseluis
Metadata
Metadata
Assignees
Labels
A-floating-pointArea: Floating point numbers and arithmeticArea: Floating point numbers and arithmeticC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.