Skip to content

Commit 2668e57

Browse files
authored
Merge pull request #284 from alexcrichton/ldexp
Include `ldexp*` intrinsics on the wasm target
2 parents 45caccf + 4012b9c commit 2668e57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libm

Submodule libm updated from 3559e70 to 0ae4428

src/math.rs

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ no_mangle! {
7171
fn sinhf(n: f32) -> f32;
7272
fn tanf(n: f32) -> f32;
7373
fn tanhf(n: f32) -> f32;
74+
fn ldexp(f: f64, n: i32) -> f64;
75+
fn ldexpf(f: f32, n: i32) -> f32;
7476
}
7577

7678
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]

0 commit comments

Comments
 (0)