powiaina_num.js 0.1.3 → 0.1.5

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/PowiainaNum.d.ts CHANGED
@@ -205,6 +205,10 @@ export default class PowiainaNum {
205
205
  max(other: PowiainaNumSource): PowiainaNum;
206
206
  static maximum(x: PowiainaNumSource, other: PowiainaNumSource): PowiainaNum;
207
207
  static max(x: PowiainaNumSource, other: PowiainaNumSource): PowiainaNum;
208
+
209
+ clone(): PowiainaNum;
210
+
211
+
208
212
  array: Array<number|Array<number>>;
209
213
  layer: number;
210
214
  sign: 1|0|-1;
@@ -1677,7 +1677,7 @@
1677
1677
  return Math.log10(Number(str.substring(0, LONG_STRING_MIN_LENGTH))) + (str.length - LONG_STRING_MIN_LENGTH);
1678
1678
  }
1679
1679
  Q.fromString = function (input, nocache=false) {
1680
- originalInput = input;
1680
+ var originalInput = input;
1681
1681
  if (typeof input != "string") throw Error(invalidArgument + "Expected String");
1682
1682
  if (C[input] && !nocache) {
1683
1683
  var x = new PowiainaNum();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powiaina_num.js",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "A JavaScript library that handles arithmetic for numbers as large as {10,9e15,1,1,1,2}.",
5
5
  "main": "PowiainaNum.js",
6
6
  "module": "PowiainaNum.esm.js",