@thi.ng/binary 3.4.11 → 3.4.12

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-02-10T08:59:56Z
3
+ - **Last updated**: 2024-02-19T15:50:26Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [3.4.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.4.12) (2024-02-19)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - update zero check in floatToSortableInt() (fix [#450](https://github.com/thi-ng/umbrella/issues/450)) ([c2dc294](https://github.com/thi-ng/umbrella/commit/c2dc294))
17
+
12
18
  ## [3.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.4.0) (2023-12-11)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -69,7 +69,7 @@ For Node.js REPL:
69
69
  const binary = await import("@thi.ng/binary");
70
70
  ```
71
71
 
72
- Package sizes (brotli'd, pre-treeshake): ESM: 2.19 KB
72
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.20 KB
73
73
 
74
74
  ## Dependencies
75
75
 
package/float.js CHANGED
@@ -20,7 +20,7 @@ const uintBitsToFloat64 = (hi, lo) => {
20
20
  };
21
21
  const floatToSortableInt = (x) => {
22
22
  if (x === -0)
23
- x = 0;
23
+ return 0;
24
24
  const i = floatToIntBits(x);
25
25
  return x < 0 ? ~i | 1 << 31 : i;
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/binary",
3
- "version": "3.4.11",
3
+ "version": "3.4.12",
4
4
  "description": "100+ assorted binary / bitwise operations, conversions, utilities, lookup tables",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -132,5 +132,5 @@
132
132
  "transducers-binary"
133
133
  ]
134
134
  },
135
- "gitHead": "e5e7d5c6ed2eadee7a91d59cbd0c86ce880ab1c5\n"
135
+ "gitHead": "ea2ec2e4f14c572bbfac00c43953a6c4033da09e\n"
136
136
  }