@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-04-08T14:59:29Z
3
+ - **Last updated**: 2024-04-20T14:42:45Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 191 standalone projects, maintained as part
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://cdn.skypack.dev/@thi.ng/math"></script>
69
+ <script type="module" src="https://esm.run/@thi.ng/math"></script>
70
70
  ```
71
71
 
72
- [Skypack documentation](https://docs.skypack.dev/)
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) => 0 | 1 | -1;
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.9",
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.10.0"
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": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
146
+ "gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
147
147
  }