MCPcopy Create free account
hub / github.com/sql-js/sql.js / _expm1

Function _expm1

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

Source from the content-addressed store, hash-verified

394490 return (+$$0);
394491}
394492function _expm1($0) {
394493 $0 = +$0;
394494 var $$ = 0.0, $$0 = 0.0, $$0105 = 0, $$0106 = 0.0, $$0107 = 0.0, $$0109 = 0.0, $$0110 = 0.0, $$0111 = 0.0, $$1 = 0, $$1108 = 0.0, $$sink = 0.0, $$sink$v = 0.0, $$sink112 = 0.0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0;
394495 var $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.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;
394496 var $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $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;
394497 var $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0;
394498 var $70 = 0.0, $71 = 0.0, $72 = 0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0;
394499 var $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, label = 0, sp = 0;
394500 sp = STACKTOP;
394501 HEAPF64[tempDoublePtr>>3] = $0;$1 = HEAP32[tempDoublePtr>>2]|0;
394502 $2 = HEAP32[tempDoublePtr+4>>2]|0;
394503 $3 = $2 & 2147483647;
394504 $4 = (_bitshift64Lshr(($1|0),($2|0),63)|0);
394505 $5 = tempRet0;
394506 $6 = ($3>>>0)>(1078159481);
394507 do {
394508 if ($6) {
394509 $7 = (___DOUBLE_BITS_12($0)|0);
394510 $8 = tempRet0;
394511 $9 = $8 & 2147483647;
394512 $10 = ($9>>>0)>(2146435072);
394513 $11 = ($7>>>0)>(0);
394514 $12 = ($9|0)==(2146435072);
394515 $13 = $12 & $11;
394516 $14 = $10 | $13;
394517 if ($14) {
394518 $$0 = $0;
394519 } else {
394520 $15 = ($4|0)==(0);
394521 if ($15) {
394522 $16 = $0 > 709.78271289338397;
394523 if ($16) {
394524 $17 = $0 * 8.9884656743115795E+307;
394525 $$0 = $17;
394526 } else {
394527 $25 = 0.5;
394528 label = 12;
394529 }
394530 } else {
394531 $$0 = -1.0;
394532 }
394533 }
394534 } else {
394535 $18 = ($3>>>0)>(1071001154);
394536 if (!($18)) {
394537 $34 = ($3>>>0)<(1016070144);
394538 if ($34) {
394539 $$0 = $0;
394540 break;
394541 } else {
394542 $$0106 = $0;$$0111 = 0.0;$$1 = 0;
394543 label = 15;
394544 break;
394545 }
394546 }
394547 $19 = ($3>>>0)<(1072734898);
394548 $20 = ($4|0)!=(0);
394549 if (!($19)) {

Callers 3

_coshFunction · 0.85
_sinhFunction · 0.85
_tanhFunction · 0.85

Calls 3

_bitshift64LshrFunction · 0.85
___DOUBLE_BITS_12Function · 0.85
_bitshift64ShlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…