mrs-toolbox-cli 0.0.97 → 0.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -37,11 +37,6 @@ if (typeof Math.log2 === 'undefined') {
|
|
|
37
37
|
return Math.log(x) * Math.LOG2E;
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
if (typeof Math.log10 === 'undefined') {
|
|
41
|
-
Math.log10 = function (x) {
|
|
42
|
-
return Math.log(x) * Math.LOG10E;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
40
|
if (typeof Math.clz32 === 'undefined') {
|
|
46
41
|
Math.clz32 = function (log, LN2) {
|
|
47
42
|
return function (x) {
|
|
@@ -53,6 +48,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
53
48
|
};
|
|
54
49
|
}(Math.log, Math.LN2);
|
|
55
50
|
}
|
|
51
|
+
if (typeof Math.log10 === 'undefined') {
|
|
52
|
+
Math.log10 = function (x) {
|
|
53
|
+
return Math.log(x) * Math.LOG10E;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
56
|
if (typeof String.prototype.startsWith === 'undefined') {
|
|
57
57
|
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
58
58
|
position = position || 0;
|