MCPcopy Index your code
hub / github.com/sql-js/sql.js / _atanh

Function _atanh

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

Source from the content-addressed store, hash-verified

395013 return (+$$0);
395014}
395015function _atanh($0) {
395016 $0 = +$0;
395017 var $$0 = 0.0, $$sink19 = 0.0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $3 = 0, $4 = 0, $5 = 0;
395018 var $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, label = 0, sp = 0;
395019 sp = STACKTOP;
395020 HEAPF64[tempDoublePtr>>3] = $0;$1 = HEAP32[tempDoublePtr>>2]|0;
395021 $2 = HEAP32[tempDoublePtr+4>>2]|0;
395022 $3 = (_bitshift64Lshr(($1|0),($2|0),52)|0);
395023 $4 = tempRet0;
395024 $5 = $3 & 2047;
395025 $6 = $2 & 2147483647;
395026 HEAP32[tempDoublePtr>>2] = $1;HEAP32[tempDoublePtr+4>>2] = $6;$7 = +HEAPF64[tempDoublePtr>>3];
395027 $8 = ($5>>>0)<(1022);
395028 if ($8) {
395029 $9 = ($5>>>0)<(991);
395030 if ($9) {
395031 $$0 = $7;
395032 } else {
395033 $10 = $7 * 2.0;
395034 $11 = $7 * $10;
395035 $12 = 1.0 - $7;
395036 $13 = $11 / $12;
395037 $14 = $10 + $13;
395038 $$sink19 = $14;
395039 label = 5;
395040 }
395041 } else {
395042 $15 = 1.0 - $7;
395043 $16 = $7 / $15;
395044 $17 = $16 * 2.0;
395045 $$sink19 = $17;
395046 label = 5;
395047 }
395048 if ((label|0) == 5) {
395049 $18 = (+_log1p($$sink19));
395050 $19 = $18 * 0.5;
395051 $$0 = $19;
395052 }
395053 $20 = ($2|0)<(0);
395054 $21 = -$$0;
395055 $22 = $20 ? $21 : $$0;
395056 return (+$22);
395057}
395058function _asinh($0) {
395059 $0 = +$0;
395060 var $$0 = 0.0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0;

Callers 1

_atanhFuncFunction · 0.85

Calls 2

_bitshift64LshrFunction · 0.85
_log1pFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…