]> gerrit.simantics Code Review - simantics/district.git/blob - tanh/is-implemented.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / tanh / is-implemented.js
1 'use strict';
2
3 module.exports = function () {
4         var tanh = Math.tanh;
5         if (typeof tanh !== 'function') return false;
6         return ((tanh(1) === 0.7615941559557649) && (tanh(Number.MAX_VALUE) === 1));
7 };