Merge pull request #284 from alexcrichton/ldexp

Include `ldexp*` intrinsics on the wasm target
master
Alex Crichton 2019-05-02 16:17:33 -05:00 committed by GitHub
commit 2668e5754d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
libm

@ -1 +1 @@
Subproject commit 3559e703795d33e84a91da2a35f2f3baac47e872
Subproject commit 0ae442888c7af72c0a335edd43dbbd74c751f119

View File

@ -71,6 +71,8 @@ no_mangle! {
fn sinhf(n: f32) -> f32;
fn tanf(n: f32) -> f32;
fn tanhf(n: f32) -> f32;
fn ldexp(f: f64, n: i32) -> f64;
fn ldexpf(f: f32, n: i32) -> f32;
}
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]