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

Function _upper_quartileFinalize

js/sql-debug.js:9618–9642  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

9616 return;
9617}
9618function _upper_quartileFinalize($0) {
9619 $0 = $0|0;
9620 var $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
9621 sp = STACKTOP;
9622 $1 = (_sqlite3_aggregate_context($0,0)|0);
9623 $2 = ($1|0)==(0|0);
9624 if ($2) {
9625 return;
9626 }
9627 $3 = ((($1)) + 16|0);
9628 $4 = $3;
9629 $5 = $4;
9630 $6 = HEAP32[$5>>2]|0;
9631 $7 = (($4) + 4)|0;
9632 $8 = $7;
9633 $9 = HEAP32[$8>>2]|0;
9634 $10 = (___muldi3(($6|0),($9|0),3,0)|0);
9635 $11 = tempRet0;
9636 $12 = (+($10>>>0)) + (4294967296.0*(+($11|0)));
9637 $13 = $12 * 0.25;
9638 $14 = ((($1)) + 24|0);
9639 HEAPF64[$14>>3] = $13;
9640 __medianFinalize($0);
9641 return;
9642}
9643function _node_iterate($0,$1,$2) {
9644 $0 = $0|0;
9645 $1 = $1|0;

Callers

nothing calls this directly

Calls 3

___muldi3Function · 0.85
__medianFinalizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…