@thi.ng/math 5.10.9 → 5.10.11
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/CHANGELOG.md +1 -1
- package/README.md +3 -3
- package/abs.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 192 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -66,10 +66,10 @@ import * as math from "@thi.ng/math";
|
|
|
66
66
|
Browser ESM import:
|
|
67
67
|
|
|
68
68
|
```html
|
|
69
|
-
<script type="module" src="https://
|
|
69
|
+
<script type="module" src="https://esm.run/@thi.ng/math"></script>
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
[
|
|
72
|
+
[JSDelivr documentation](https://www.jsdelivr.com/)
|
|
73
73
|
|
|
74
74
|
For Node.js REPL:
|
|
75
75
|
|
package/abs.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const absDiff: FnN2;
|
|
|
13
13
|
* @param x
|
|
14
14
|
* @param eps
|
|
15
15
|
*/
|
|
16
|
-
export declare const sign: (x: number, eps?: number) =>
|
|
16
|
+
export declare const sign: (x: number, eps?: number) => 1 | 0 | -1;
|
|
17
17
|
/**
|
|
18
18
|
* Raises `x` to `k` power and multiplies it with the {@link sign} of `x`, using
|
|
19
19
|
* `eps` to determine zero.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/math",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.11",
|
|
4
4
|
"description": "Assorted common math functions & utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.
|
|
42
|
+
"@thi.ng/api": "^8.11.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -143,5 +143,5 @@
|
|
|
143
143
|
"thi.ng": {
|
|
144
144
|
"year": 2013
|
|
145
145
|
},
|
|
146
|
-
"gitHead": "
|
|
146
|
+
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
|
|
147
147
|
}
|