]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/math/tanh/shim.js
2c67aaf47049fd38ec3bca2e4649e57726dc8304
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / math / tanh / shim.js
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t({}), NaN, "NaN");
5 a(t(0), 0, "Zero");
6 a(t(Infinity), 1, "Infinity");
7 a(t(-Infinity), -1, "-Infinity");
8 a(t(1), 0.7615941559557649, "1");
9 a(t(Number.MAX_VALUE), 1);
10 a(t(-Number.MAX_VALUE), -1);
11 };