diff options
Diffstat (limited to 'src/math/tgammaf.rs')
-rw-r--r-- | src/math/tgammaf.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/tgammaf.rs b/src/math/tgammaf.rs index a8f161f..23e3814 100644 --- a/src/math/tgammaf.rs +++ b/src/math/tgammaf.rs @@ -1,5 +1,6 @@ use super::tgamma; +#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)] pub fn tgammaf(x: f32) -> f32 { tgamma(x as f64) as f32 } |