summaryrefslogtreecommitdiffstats
path: root/vendor/libm/src/math/tgammaf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libm/src/math/tgammaf.rs')
-rw-r--r--vendor/libm/src/math/tgammaf.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/libm/src/math/tgammaf.rs b/vendor/libm/src/math/tgammaf.rs
new file mode 100644
index 000000000..a8f161f0c
--- /dev/null
+++ b/vendor/libm/src/math/tgammaf.rs
@@ -0,0 +1,5 @@
+use super::tgamma;
+
+pub fn tgammaf(x: f32) -> f32 {
+ tgamma(x as f64) as f32
+}