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