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

Function _memRealValue

js/sql-debug.js:13197–13209  ·  view source on GitHub ↗
($$0$2$val,$$0$4$val,$$0$5$val)

Source from the content-addressed store, hash-verified

13195 STACKTOP = sp;return ($7|0);
13196}
13197function _memRealValue($$0$2$val,$$0$4$val,$$0$5$val) {
13198 $$0$2$val = $$0$2$val|0;
13199 $$0$4$val = $$0$4$val|0;
13200 $$0$5$val = $$0$5$val|0;
13201 var $0 = 0, $1 = 0.0, label = 0, sp = 0;
13202 sp = STACKTOP;
13203 STACKTOP = STACKTOP + 16|0;
13204 $0 = sp;
13205 HEAPF64[$0>>3] = 0.0;
13206 (_sqlite3AtoF($$0$5$val,$0,$$0$4$val,$$0$2$val)|0);
13207 $1 = +HEAPF64[$0>>3];
13208 STACKTOP = sp;return (+$1);
13209}
13210function _valueToText($0,$1) {
13211 $0 = $0|0;
13212 $1 = $1|0;

Callers 10

_sqlite3VXPrintfFunction · 0.85
_absFuncFunction · 0.85
_roundFuncFunction · 0.85
_quoteFuncFunction · 0.85
_sumStepFunction · 0.85
_isDateFunction · 0.85
_sqlite3_value_doubleFunction · 0.85
_sqlite3VdbeExecFunction · 0.85
_sqlite3VdbeMemCastFunction · 0.85
_sqlite3_column_doubleFunction · 0.85

Calls 1

_sqlite3AtoFFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…