npm and error messages

This commit is contained in:
2018-10-27 03:51:47 -05:00
parent 692ab70565
commit 025a403027
29601 changed files with 2759363 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
"use strict";
var isImplemented = require("../../../math/imul/is-implemented");
module.exports = function (a) {
a(isImplemented(), true);
};
+3
View File
@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");
+5
View File
@@ -0,0 +1,5 @@
"use strict";
module.exports = function (t, a) {
a(typeof t(), "boolean");
};
+9
View File
@@ -0,0 +1,9 @@
"use strict";
module.exports = function (t, a) {
a(t(), 0, "No arguments");
a(t(0, 0), 0, "Zeros");
a(t(2, 4), 8, "#1");
a(t(-1, 8), -8, "#2");
a(t(0xfffffffe, 5), -10, "#3");
};