UNPKG

double-double

Version:

Pure double-double precision functions *with strict error bounds*.

11 lines (7 loc) 320 B
require("wabt")().then(wabt => { var wasm = ...; // a buffer holding the contents of a wasm file var myModule = wabt.readWasm(wasm, { readDebugNames: true }); myModule.applyNames(); var wast = myModule.toText({ foldExprs: false, inlineExport: false }); console.log(wast); });