diff options
Diffstat (limited to 'vendor/libm/src/math/tgammaf.rs')
-rw-r--r-- | vendor/libm/src/math/tgammaf.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/libm/src/math/tgammaf.rs b/vendor/libm/src/math/tgammaf.rs index a8f161f0c..23e3814f9 100644 --- a/vendor/libm/src/math/tgammaf.rs +++ b/vendor/libm/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 } |