MCPcopy
hub / github.com/sql-js/sql.js / _sqlite3_result_double

Function _sqlite3_result_double

js/sql-debug.js:86400–86430  ·  view source on GitHub ↗
($0,$1)

Source from the content-addressed store, hash-verified

86398 return ($7|0);
86399}
86400function _sqlite3_result_double($0,$1) {
86401 $0 = $0|0;
86402 $1 = +$1;
86403 var $$0$$0$$0$$0$$i$i = 0.0, $$0$$0$$0$$0$2$i$i = 0.0, $$0$$0$$0$$0$3$i$i = 0.0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
86404 sp = STACKTOP;
86405 STACKTOP = STACKTOP + 16|0;
86406 $2 = sp + 8|0;
86407 $3 = sp;
86408 $4 = HEAP32[$0>>2]|0;
86409 $5 = ((($4)) + 8|0);
86410 $6 = HEAP16[$5>>1]|0;
86411 $7 = $6 & 9312;
86412 $8 = ($7<<16>>16)==(0);
86413 if ($8) {
86414 HEAP16[$5>>1] = 1;
86415 } else {
86416 _vdbeMemClearExternAndSetNull($4);
86417 }
86418 HEAPF64[$2>>3] = $1;
86419 $$0$$0$$0$$0$2$i$i = +HEAPF64[$2>>3];
86420 HEAPF64[$3>>3] = $$0$$0$$0$$0$2$i$i;
86421 $$0$$0$$0$$0$3$i$i = +HEAPF64[$2>>3];
86422 $$0$$0$$0$$0$$i$i = +HEAPF64[$3>>3];
86423 $9 = $$0$$0$$0$$0$3$i$i != $$0$$0$$0$$0$$i$i;
86424 if ($9) {
86425 STACKTOP = sp;return;
86426 }
86427 HEAPF64[$4>>3] = $1;
86428 HEAP16[$5>>1] = 8;
86429 STACKTOP = sp;return;
86430}
86431function _sqlite3_result_error($0,$1,$2) {
86432 $0 = $0|0;
86433 $1 = $1|0;

Callers 15

_acosFuncFunction · 0.85
_asinFuncFunction · 0.85
_atanFuncFunction · 0.85
_atn2FuncFunction · 0.85
_acoshFuncFunction · 0.85
_asinhFuncFunction · 0.85
_atanhFuncFunction · 0.85
_rad2degFuncFunction · 0.85
_deg2radFuncFunction · 0.85
_cosFuncFunction · 0.85
_sinFuncFunction · 0.85
_tanFuncFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…