mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 14:41:32 +00:00
Added missing functions for pyodide
Since Pyodide is focused on running on desktop, this pull-request lacks Javascript runtime functions. It also sorted alphabetically some functions
This commit is contained in:
9
lib/emscripten/src/llvm.rs
Normal file
9
lib/emscripten/src/llvm.rs
Normal file
@ -0,0 +1,9 @@
|
||||
extern crate libm;
|
||||
extern crate wasmer_runtime_core;
|
||||
|
||||
use libm::fma;
|
||||
use wasmer_runtime_core::vm::Ctx;
|
||||
|
||||
pub fn fma_f64(_ctx: &mut Ctx, x: f64, y: f64, z: f64) -> f64 {
|
||||
fma(x, y, z)
|
||||
}
|
Reference in New Issue
Block a user