Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/wasm/tail-calls/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 720 B image not shown  

Quelle  bug1914009.js   Sprache: JAVA

 
const ext1 = {};
function f1(p0,p1,p2,p3,p4,p5,p6) {
    return [
        1,
        1.125
    ];
}

const ins = wasmEvalText(`(module
(import "x" "ext1" (global $ext1 externref))

(type $t1 (func (param  externref i32 i32 f64 f64 f32 i64) (result i32 f32)))

(import "x" "f1" (func $f1 (param  externref i32 i32 f64 f64 f32 i64) (result i32 f32)))

(elem declare func $f1)

(func $f0 (export "f0") (result i32 f32)
    global.get $ext1
    i32.const 1
    i32.const 1
    f64.const 1.2
    f64.const 1.2
    f32.const 1.125
    i64.const 2

    ref.func $f1
    return_call_ref $t1
)
)`, {x: {
    ext1,
    f1,
}});

const res = ins.exports.f0();
assertEq(res.length, 2);
assertEq(res[0], 1);
assertEq(res[1], 1.125);

Messung V0.5
C=98 H=97 G=97

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.