Files
libm/src/math/ldexpf.rs
T
Alex Crichton 7e49f83241 Add bindings for ldexp/ldexpf
Should help in fixing wasmerio/wasmer#407
2019-05-02 12:21:55 -07:00

6 lines
136 B
Rust

#[inline]
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn ldexpf(x: f32, n: i32) -> f32 {
super::scalbnf(x, n)
}