Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  bug1836708.js  Sprache: unbekannt

 
// Testing i64.mul in wasm with a 2 ** n +- 1 value as operand, which may
// be optimized in code generation.
var mulImmOperands = [];

for (let i = 0n; i < 64n; i++) {
  mulImmOperands.push(2n ** i - 1n);
  mulImmOperands.push(2n ** i + 1n);
}

for (const immVal of mulImmOperands) {
  const ins = wasmEvalText(`(module
    (func (export "mul_i64") (param i64) (result i64)
      local.get 0
      i64.const ${immVal}
      i64.mul
    ))`);

  assertEq(ins.exports.mul_i64(42n), BigInt.asIntN(64, 42n * immVal));
}

Messung V0.5 in Prozent
C=90 H=34 G=67

[zur Elbe Produktseite wechseln0.12QuellennavigatorsAnalyse erneut starten2026-09-30]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=2039723