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

Function _log1p

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

Source from the content-addressed store, hash-verified

394855 return (+$$0);
394856}
394857function _log1p($0) {
394858 $0 = +$0;
394859 var $$082 = 0.0, $$1 = 0.0, $$184 = 0.0, $$186 = 0.0, $$2 = 0.0, $$sink = 0.0, $$sink1 = 0.0, $$sink1$p = 0.0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0;
394860 var $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0;
394861 var $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0;
394862 var $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0, $or$cond = 0, $phitmp = 0.0, label = 0, sp = 0;
394863 sp = STACKTOP;
394864 HEAPF64[tempDoublePtr>>3] = $0;$1 = HEAP32[tempDoublePtr>>2]|0;
394865 $2 = HEAP32[tempDoublePtr+4>>2]|0;
394866 $3 = ($2>>>0)<(1071284858);
394867 $4 = ($2|0)<(0);
394868 $or$cond = $4 | $3;
394869 do {
394870 if ($or$cond) {
394871 $5 = ($2>>>0)>(3220176895);
394872 if ($5) {
394873 $6 = $0 == -1.0;
394874 if ($6) {
394875 $$082 = -inf;
394876 break;
394877 }
394878 $7 = $0 - $0;
394879 $8 = $7 / 0.0;
394880 $$082 = $8;
394881 break;
394882 } else {
394883 $9 = (_bitshift64Shl(($2|0),0,1)|0);
394884 $10 = tempRet0;
394885 $11 = ($9>>>0)<(2034237440);
394886 if ($11) {
394887 $$082 = $0;
394888 break;
394889 }
394890 $12 = ($2>>>0)<(3218259653);
394891 if ($12) {
394892 $$1 = 0.0;$$184 = $0;$$2 = 0.0;
394893 label = 11;
394894 break;
394895 } else {
394896 label = 8;
394897 break;
394898 }
394899 }
394900 } else {
394901 $13 = ($2>>>0)>(2146435071);
394902 if ($13) {
394903 $$082 = $0;
394904 } else {
394905 label = 8;
394906 }
394907 }
394908 } while(0);
394909 if ((label|0) == 8) {
394910 $14 = $0 + 1.0;
394911 HEAPF64[tempDoublePtr>>3] = $14;$15 = HEAP32[tempDoublePtr>>2]|0;
394912 $16 = HEAP32[tempDoublePtr+4>>2]|0;
394913 $17 = (($16) + 614242)|0;
394914 $18 = $17 >>> 20;

Callers 3

_acoshFunction · 0.85
_atanhFunction · 0.85
_asinhFunction · 0.85

Calls 1

_bitshift64ShlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…