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

Function _sinh

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

Source from the content-addressed store, hash-verified

394968 return (+$$082);
394969}
394970function _sinh($0) {
394971 $0 = +$0;
394972 var $$ = 0.0, $$0 = 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.0, $21 = 0.0, $22 = 0.0, $3 = 0, $4 = 0, $5 = 0.0;
394973 var $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, label = 0, sp = 0;
394974 sp = STACKTOP;
394975 HEAPF64[tempDoublePtr>>3] = $0;$1 = HEAP32[tempDoublePtr>>2]|0;
394976 $2 = HEAP32[tempDoublePtr+4>>2]|0;
394977 $3 = ($2|0)<(0);
394978 $$ = $3 ? -0.5 : 0.5;
394979 $4 = $2 & 2147483647;
394980 HEAP32[tempDoublePtr>>2] = $1;HEAP32[tempDoublePtr+4>>2] = $4;$5 = +HEAPF64[tempDoublePtr>>3];
394981 $6 = ($4>>>0)<(1082535490);
394982 do {
394983 if ($6) {
394984 $7 = (+_expm1($5));
394985 $8 = ($4>>>0)<(1072693248);
394986 if (!($8)) {
394987 $16 = $7 + 1.0;
394988 $17 = $7 / $16;
394989 $18 = $7 + $17;
394990 $19 = $$ * $18;
394991 $$0 = $19;
394992 break;
394993 }
394994 $9 = ($4>>>0)<(1045430272);
394995 if ($9) {
394996 $$0 = $0;
394997 } else {
394998 $10 = $7 * 2.0;
394999 $11 = $7 * $7;
395000 $12 = $7 + 1.0;
395001 $13 = $11 / $12;
395002 $14 = $10 - $13;
395003 $15 = $$ * $14;
395004 $$0 = $15;
395005 }
395006 } else {
395007 $20 = $$ * 2.0;
395008 $21 = (+___expo2($5));
395009 $22 = $20 * $21;
395010 $$0 = $22;
395011 }
395012 } while(0);
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;

Callers 1

_sinhFuncFunction · 0.85

Calls 2

_expm1Function · 0.85
___expo2Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…