MCPcopy Index your code
hub / github.com/microsoft/SandDance / cosh

Function cosh

docs/app/js/sanddance-app.js:128576–128578  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

128574parcelHelpers.defineInteropFlag(exports);
128575var epsilon2 = 1e-12;
128576function cosh(x) {
128577 return ((x = Math.exp(x)) + 1 / x) / 2;
128578}
128579function sinh(x) {
128580 return ((x = Math.exp(x)) - 1 / x) / 2;
128581}

Callers 1

zoomFunction · 0.70

Calls 1

expFunction · 0.70

Tested by

no test coverage detected