Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

8 lines
191 B
JavaScript

"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;
};