Updated imports required for jq. Added get_str method in VarArgs

This commit is contained in:
Syrus
2019-05-18 12:38:22 -07:00
parent 4ddffb8285
commit 8f345dc284
8 changed files with 97 additions and 48 deletions

View File

@ -49,6 +49,11 @@ pub fn _llvm_trunc_f64(_ctx: &mut Ctx, value: f64) -> f64 {
value.trunc()
}
pub fn _llvm_fma_f64(_ctx: &mut Ctx, value: f64, a: f64, b: f64) -> f64 {
debug!("emscripten::_llvm_fma_f64");
value.mul_add(a, b)
}
pub fn _emscripten_random(_ctx: &mut Ctx) -> f64 {
debug!("emscripten::_emscripten_random");
-1.0