katoikia-app/web-ui/web-react/node_modules/es5-ext/math/tanh/is-implemented.js

8 lines
191 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
"use strict";
module.exports = function () {
var tanh = Math.tanh;
if (typeof tanh !== "function") return false;
return tanh(1) === 0.7615941559557649 && tanh(Number.MAX_VALUE) === 1;
};