Add addition em functions to run tests

This commit is contained in:
Brandon Fish
2019-01-27 00:33:58 -06:00
parent 12def9da25
commit 6bbdaa1c53
4 changed files with 38 additions and 3 deletions

View File

@ -14,12 +14,17 @@ pub extern "C" fn _llvm_log2_f64(value: f64, _ctx: &mut Ctx) -> f64 {
pub extern "C" fn _llvm_log10_f32(value: f64, _ctx: &mut Ctx) -> f64 {
debug!("emscripten::_llvm_log10_f32");
unimplemented!()
-1.0
}
pub extern "C" fn _llvm_log2_f32(value: f64, _ctx: &mut Ctx) -> f64 {
debug!("emscripten::_llvm_log10_f32");
unimplemented!()
-1.0
}
pub extern "C" fn _emscripten_random(_ctx: &mut Ctx) -> f64 {
debug!("emscripten::_emscripten_random");
-1.0
}
// emscripten: f64-rem