cmath-js 1.0.6 → 1.0.8
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/README.md +8 -0
- package/package.json +28 -22
- package/dist/double/copysign.d.ts +0 -1
- package/dist/double/copysign.js +0 -4
- package/dist/double/copysign.js.map +0 -1
- package/dist/double/fabs.d.ts +0 -1
- package/dist/double/fabs.js +0 -2
- package/dist/double/fabs.js.map +0 -1
- package/dist/double/frexp.d.ts +0 -1
- package/dist/double/frexp.js +0 -23
- package/dist/double/frexp.js.map +0 -1
- package/dist/double/hypot.d.ts +0 -1
- package/dist/double/hypot.js +0 -19
- package/dist/double/hypot.js.map +0 -1
- package/dist/double/index.d.ts +0 -8
- package/dist/double/index.js +0 -9
- package/dist/double/index.js.map +0 -1
- package/dist/double/ldexp.d.ts +0 -1
- package/dist/double/ldexp.js +0 -5
- package/dist/double/ldexp.js.map +0 -1
- package/dist/double/nextafter.d.ts +0 -1
- package/dist/double/nextafter.js +0 -22
- package/dist/double/nextafter.js.map +0 -1
- package/dist/double/pow.d.ts +0 -1
- package/dist/double/pow.js +0 -8
- package/dist/double/pow.js.map +0 -1
- package/dist/double/signbit.d.ts +0 -1
- package/dist/double/signbit.js +0 -4
- package/dist/double/signbit.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -3
- package/dist/index.js.map +0 -1
- package/dist/integer/abs.d.ts +0 -1
- package/dist/integer/abs.js +0 -7
- package/dist/integer/abs.js.map +0 -1
- package/dist/integer/index.d.ts +0 -1
- package/dist/integer/index.js +0 -2
- package/dist/integer/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -14,3 +14,11 @@ Implementations of some of C's math functions in TypeScript/JavaScript.
|
|
|
14
14
|
## Integer functions
|
|
15
15
|
These accept either a `number` or a `bigint`:
|
|
16
16
|
- abs
|
|
17
|
+
|
|
18
|
+
## Test coverage
|
|
19
|
+
The test coverage is a perfect 100% and enforced by the publishing and pull request verification workflows.
|
|
20
|
+
|
|
21
|
+
## Contributing
|
|
22
|
+
Contributions are welcomed! Feel free to make a pull request. Please add your name to `contributors` in `package.json` and run `npm run build-and-verify` before submitting your PR. By making a pull request you agree to license your contribution under [the CC0 license](https://creativecommons.org/publicdomain/zero/1.0/legalcode.en#legal-code-title) unless otherwise specified.
|
|
23
|
+
|
|
24
|
+
ESLint is used to enforce code quality and consistent formatting (with the help of Prettier). If ESLint complains when you run `npm run build-and-verify`, you can run `npm run lint-fix` to apply automatic fixes and and then fix the rest of the errors manually. I recommend configuring your IDE for ESLint and Prettier. If you are using Visual Studio Code, simply installing [Microsoft's ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and [the official Prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) takes care of that.
|
package/package.json
CHANGED
|
@@ -1,55 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmath-js",
|
|
3
|
-
"homepage": "https://github.com/oskarlh/cmath
|
|
4
|
-
"repository":
|
|
5
|
-
|
|
3
|
+
"homepage": "https://github.com/oskarlh/cmath-js",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/oskarlh/cmath-js.git"
|
|
7
|
+
},
|
|
8
|
+
"version": "1.0.8",
|
|
6
9
|
"main": "dist/index.js",
|
|
7
10
|
"types": "dist/index.d.ts",
|
|
8
11
|
"type": "module",
|
|
9
12
|
"author": "Oskar Larsson Högfeldt <oskar@oskar.pm>",
|
|
13
|
+
"contributors": [
|
|
14
|
+
"Oskar Larsson Högfeldt <oskar@oskar.pm>"
|
|
15
|
+
],
|
|
10
16
|
"license": "MIT",
|
|
11
17
|
"description": "C's math functions implemented in TypeScript/JavaScript",
|
|
12
18
|
"keywords": [
|
|
13
|
-
"
|
|
19
|
+
"Browser",
|
|
14
20
|
"C",
|
|
15
21
|
"C++",
|
|
22
|
+
"cmath",
|
|
23
|
+
"ECMAScript",
|
|
24
|
+
"JavaScript",
|
|
16
25
|
"Math",
|
|
17
26
|
"Maths",
|
|
18
|
-
"JavaScript",
|
|
19
|
-
"ECMAScript",
|
|
20
|
-
"TypeScript",
|
|
21
27
|
"Node",
|
|
22
28
|
"NodeJS",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
29
|
+
"TypeScript",
|
|
30
|
+
"Web"
|
|
25
31
|
],
|
|
26
32
|
"devDependencies": {
|
|
27
|
-
"@swc/cli": "^0.1
|
|
28
|
-
"@swc/core": "^1
|
|
29
|
-
"@swc/jest": "^0.2
|
|
33
|
+
"@swc/cli": "^0.1",
|
|
34
|
+
"@swc/core": "^1",
|
|
35
|
+
"@swc/jest": "^0.2",
|
|
30
36
|
"@types/jest": "^29",
|
|
31
37
|
"@types/node": "^20",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^6
|
|
33
|
-
"@typescript-eslint/parser": "^6
|
|
34
|
-
"eslint": "^8
|
|
35
|
-
"eslint-config-prettier": "^
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^6",
|
|
39
|
+
"@typescript-eslint/parser": "^6",
|
|
40
|
+
"eslint": "^8",
|
|
41
|
+
"eslint-config-prettier": "^9",
|
|
36
42
|
"eslint-plugin-prettier": "^5",
|
|
37
|
-
"jest": "^29
|
|
43
|
+
"jest": "^29",
|
|
38
44
|
"prettier": "^3",
|
|
39
|
-
"ts-jest": "^29
|
|
40
|
-
"typescript": "~5.
|
|
45
|
+
"ts-jest": "^29",
|
|
46
|
+
"typescript": "~5.2"
|
|
41
47
|
},
|
|
42
48
|
"scripts": {
|
|
43
49
|
"build": "tsc",
|
|
44
50
|
"build-and-verify": "npm run test-with-typechecking --ci && npm run lint && npm run build",
|
|
45
51
|
"build-without-typechecking": "swc -C exclude=.test.ts -d dist -s true -- src",
|
|
46
52
|
"lint": "eslint .",
|
|
53
|
+
"lint-fix": "eslint . --fix",
|
|
54
|
+
"prepack": "npm run build",
|
|
47
55
|
"test": "jest",
|
|
48
56
|
"test-with-typechecking": "jest --config=jest.config.with-typechecking.js"
|
|
49
57
|
},
|
|
50
58
|
"files": [
|
|
51
|
-
"dist"
|
|
52
|
-
"LICENSE",
|
|
53
|
-
"README.md"
|
|
59
|
+
"dist"
|
|
54
60
|
]
|
|
55
61
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function copysign(num: number, sign: number): number;
|
package/dist/double/copysign.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"copysign.js","sourceRoot":"","sources":["../../src/double/copysign.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,QAAQ,CAAY,GAAW,EAAa,IAAY;IACvE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC"}
|
package/dist/double/fabs.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const fabs: (x: number) => number;
|
package/dist/double/fabs.js
DELETED
package/dist/double/fabs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fabs.js","sourceRoot":"","sources":["../../src/double/fabs.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC"}
|
package/dist/double/frexp.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function frexp(num: number): [fraction: number, exponent: number];
|
package/dist/double/frexp.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export function frexp(num) {
|
|
2
|
-
const result = [num, 0];
|
|
3
|
-
if (num !== 0 && Number.isFinite(num)) {
|
|
4
|
-
const absNum = Math.abs(num);
|
|
5
|
-
let exp = Math.max(-1023, Math.floor(Math.log2(absNum)) + 1);
|
|
6
|
-
let x = absNum * 2 ** -exp;
|
|
7
|
-
while (x < 0.5) {
|
|
8
|
-
x *= 2;
|
|
9
|
-
--exp;
|
|
10
|
-
}
|
|
11
|
-
while (x >= 1) {
|
|
12
|
-
x *= 0.5;
|
|
13
|
-
++exp;
|
|
14
|
-
}
|
|
15
|
-
if (num < 0) {
|
|
16
|
-
x = -x;
|
|
17
|
-
}
|
|
18
|
-
result[0] = x;
|
|
19
|
-
result[1] = exp;
|
|
20
|
-
}
|
|
21
|
-
return result;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=frexp.js.map
|
package/dist/double/frexp.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frexp.js","sourceRoot":"","sources":["../../src/double/frexp.ts"],"names":[],"mappings":"AAQA,MAAM,UAAU,KAAK,CACT,GAAW;IAEtB,MAAM,MAAM,GAAqB,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAE1C,IAAI,GAAG,KAAK,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;QACtC,MAAM,MAAM,GAAW,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAErC,IAAI,GAAG,GAAW,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACrE,IAAI,CAAC,GAAW,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC;QAInC,OAAO,CAAC,GAAG,GAAG,EAAE;YACf,CAAC,IAAI,CAAC,CAAC;YACP,EAAE,GAAG,CAAC;SACN;QAGD,OAAO,CAAC,IAAI,CAAC,EAAE;YACd,CAAC,IAAI,GAAG,CAAC;YACT,EAAE,GAAG,CAAC;SACN;QAED,IAAI,GAAG,GAAG,CAAC,EAAE;YACZ,CAAC,GAAG,CAAC,CAAC,CAAC;SACP;QACD,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QACd,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;KAChB;IACD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/double/hypot.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function hypot(x: number, y: number, z?: number): number;
|
package/dist/double/hypot.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function hypot(x, y, z) {
|
|
2
|
-
let result = 0;
|
|
3
|
-
if (z !== undefined) {
|
|
4
|
-
result = Math.hypot(x, y, z);
|
|
5
|
-
}
|
|
6
|
-
else {
|
|
7
|
-
result = Infinity;
|
|
8
|
-
if (x !== Infinity && x !== -Infinity && y !== Infinity && y !== -Infinity) {
|
|
9
|
-
if (x === 0 || y === 0) {
|
|
10
|
-
result = Math.max(Math.abs(x), Math.abs(y));
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
result = Math.hypot(x, y);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return result;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=hypot.js.map
|
package/dist/double/hypot.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hypot.js","sourceRoot":"","sources":["../../src/double/hypot.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,KAAK,CAAY,CAAS,EAAa,CAAS,EAAa,CAAU;IACtF,IAAI,MAAM,GAAW,CAAC,CAAC;IACvB,IAAI,CAAC,KAAK,SAAS,EAAE;QACpB,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;KAC7B;SAAM;QACN,MAAM,GAAG,QAAQ,CAAC;QAClB,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YAC3E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;gBACvB,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;aAC5C;iBAAM;gBACN,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;aAC1B;SACD;KACD;IACD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/double/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { copysign } from "./copysign.js";
|
|
2
|
-
export { fabs } from "./fabs.js";
|
|
3
|
-
export { frexp } from "./frexp.js";
|
|
4
|
-
export { hypot } from "./hypot.js";
|
|
5
|
-
export { ldexp } from "./ldexp.js";
|
|
6
|
-
export { nextafter } from "./nextafter.js";
|
|
7
|
-
export { pow } from "./pow.js";
|
|
8
|
-
export { signbit } from "./signbit.js";
|
package/dist/double/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { copysign } from "./copysign.js";
|
|
2
|
-
export { fabs } from "./fabs.js";
|
|
3
|
-
export { frexp } from "./frexp.js";
|
|
4
|
-
export { hypot } from "./hypot.js";
|
|
5
|
-
export { ldexp } from "./ldexp.js";
|
|
6
|
-
export { nextafter } from "./nextafter.js";
|
|
7
|
-
export { pow } from "./pow.js";
|
|
8
|
-
export { signbit } from "./signbit.js";
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
package/dist/double/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/double/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/double/ldexp.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function ldexp(factor: number, exponent: number): number;
|
package/dist/double/ldexp.js
DELETED
package/dist/double/ldexp.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ldexp.js","sourceRoot":"","sources":["../../src/double/ldexp.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,KAAK,CAAY,MAAc,EAAU,QAAgB;IACxE,MAAM,0BAA0B,GAAW,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;IAC3E,OAAO,CACN,MAAM,GAAG,0BAA0B,GAAG,0BAA0B,GAAG,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAC/F,CAAC;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function nextafter(num: number, toward: number): number;
|
package/dist/double/nextafter.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export function nextafter(num, toward) {
|
|
2
|
-
if (num === toward) {
|
|
3
|
-
return toward;
|
|
4
|
-
}
|
|
5
|
-
if (num === 0) {
|
|
6
|
-
return Math.sign(toward) * Number.MIN_VALUE;
|
|
7
|
-
}
|
|
8
|
-
if (num === Infinity || num === -Infinity) {
|
|
9
|
-
return Number.MAX_VALUE * Math.sign(num);
|
|
10
|
-
}
|
|
11
|
-
if (num === -Number.MIN_VALUE && toward > num) {
|
|
12
|
-
return -0;
|
|
13
|
-
}
|
|
14
|
-
let differenceMultiplier = 0.5 * Math.sign(num) * (num < toward ? 1 : -1);
|
|
15
|
-
let result;
|
|
16
|
-
do {
|
|
17
|
-
result = num + num * (Number.EPSILON * differenceMultiplier);
|
|
18
|
-
differenceMultiplier *= 2;
|
|
19
|
-
} while (result === num);
|
|
20
|
-
return result;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=nextafter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nextafter.js","sourceRoot":"","sources":["../../src/double/nextafter.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,SAAS,CAAY,GAAW,EAAa,MAAc;IAC1E,IAAI,GAAG,KAAK,MAAM,EAAE;QACnB,OAAO,MAAM,CAAC;KACd;IACD,IAAI,GAAG,KAAK,CAAC,EAAE;QACd,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC;KAC5C;IACD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAE;QAC1C,OAAO,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KACzC;IACD,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,MAAM,GAAG,GAAG,EAAE;QAC9C,OAAO,CAAC,CAAC,CAAC;KACV;IACD,IAAI,oBAAoB,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1E,IAAI,MAAc,CAAC;IACnB,GAAG;QACF,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,GAAG,oBAAoB,CAAC,CAAC;QAC7D,oBAAoB,IAAI,CAAC,CAAC;KAC1B,QAAQ,MAAM,KAAK,GAAG,EAAE;IACzB,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/double/pow.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function pow(base: number, exponent: number): number;
|
package/dist/double/pow.js
DELETED
package/dist/double/pow.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pow.js","sourceRoot":"","sources":["../../src/double/pow.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,GAAG,CAAY,IAAY,EAAa,QAAgB;IACvE,IAAI,MAAM,GAAG,IAAI,IAAI,QAAQ,CAAC;IAC9B,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE;QACrF,MAAM,GAAG,CAAC,CAAC;KACX;IACD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/double/signbit.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function signbit(num: number): boolean;
|
package/dist/double/signbit.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signbit.js","sourceRoot":"","sources":["../../src/double/signbit.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,OAAO,CAAY,GAAW;IAC7C,OAAO,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;AACtC,CAAC"}
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
package/dist/integer/abs.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function abs(number: bigint | number): number | bigint;
|
package/dist/integer/abs.js
DELETED
package/dist/integer/abs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abs.js","sourceRoot":"","sources":["../../src/integer/abs.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAG,CAAC,MAAuB;IAC1C,IAAI,MAAM,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE;QACxC,OAAO,CAAC,MAAM,CAAC;KACf;IACD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/integer/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { abs } from "./abs.js";
|
package/dist/integer/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC"}
|