Sha256: a74095dae9379770d3858f6f3cbff9efe5651716786bdbcb773411a528be1527

Contents?: true

Size: 257 Bytes

Versions: 47

Compression:

Stored size: 257 Bytes

Contents

"use strict";

module.exports = function (t, a) {
	a(t({}), NaN, "NaN");
	a(t(0), 0, "Zero");
	a(t(Infinity), 1, "Infinity");
	a(t(-Infinity), -1, "-Infinity");
	a(t(1), 0.7615941559557649, "1");
	a(t(Number.MAX_VALUE), 1);
	a(t(-Number.MAX_VALUE), -1);
};

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
govuk_publishing_components-16.20.0 node_modules/es5-ext/test/math/tanh/shim.js
govuk_publishing_components-16.19.0 node_modules/es5-ext/test/math/tanh/shim.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/test/math/tanh/shim.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/test/math/tanh/shim.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/test/math/tanh/shim.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/test/math/tanh/shim.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/test/math/tanh/shim.js