@stdlib/number-int32-base-to-uint32 0.1.0 → 0.2.0
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/NOTICE +1 -1
- package/README.md +18 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +2 -2
- package/package.json +9 -8
- package/CITATION.cff +0 -30
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -112,6 +112,12 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
112
112
|
|
|
113
113
|
<section class="related">
|
|
114
114
|
|
|
115
|
+
* * *
|
|
116
|
+
|
|
117
|
+
## See Also
|
|
118
|
+
|
|
119
|
+
- <span class="package-name">[`@stdlib/number-uint32/base/to-int32`][@stdlib/number/uint32/base/to-int32]</span><span class="delimiter">: </span><span class="description">convert an unsigned 32-bit integer to a signed 32-bit integer.</span>
|
|
120
|
+
|
|
115
121
|
</section>
|
|
116
122
|
|
|
117
123
|
<!-- /.related -->
|
|
@@ -142,7 +148,7 @@ See [LICENSE][stdlib-license].
|
|
|
142
148
|
|
|
143
149
|
## Copyright
|
|
144
150
|
|
|
145
|
-
Copyright © 2016-
|
|
151
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
146
152
|
|
|
147
153
|
</section>
|
|
148
154
|
|
|
@@ -155,8 +161,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
155
161
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-int32-base-to-uint32.svg
|
|
156
162
|
[npm-url]: https://npmjs.org/package/@stdlib/number-int32-base-to-uint32
|
|
157
163
|
|
|
158
|
-
[test-image]: https://github.com/stdlib-js/number-int32-base-to-uint32/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
159
|
-
[test-url]: https://github.com/stdlib-js/number-int32-base-to-uint32/actions/workflows/test.yml?query=branch:v0.
|
|
164
|
+
[test-image]: https://github.com/stdlib-js/number-int32-base-to-uint32/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
165
|
+
[test-url]: https://github.com/stdlib-js/number-int32-base-to-uint32/actions/workflows/test.yml?query=branch:v0.2.0
|
|
160
166
|
|
|
161
167
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-int32-base-to-uint32/main.svg
|
|
162
168
|
[coverage-url]: https://codecov.io/github/stdlib-js/number-int32-base-to-uint32?branch=main
|
|
@@ -179,12 +185,21 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
179
185
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
180
186
|
|
|
181
187
|
[deno-url]: https://github.com/stdlib-js/number-int32-base-to-uint32/tree/deno
|
|
188
|
+
[deno-readme]: https://github.com/stdlib-js/number-int32-base-to-uint32/blob/deno/README.md
|
|
182
189
|
[umd-url]: https://github.com/stdlib-js/number-int32-base-to-uint32/tree/umd
|
|
190
|
+
[umd-readme]: https://github.com/stdlib-js/number-int32-base-to-uint32/blob/umd/README.md
|
|
183
191
|
[esm-url]: https://github.com/stdlib-js/number-int32-base-to-uint32/tree/esm
|
|
192
|
+
[esm-readme]: https://github.com/stdlib-js/number-int32-base-to-uint32/blob/esm/README.md
|
|
184
193
|
[branches-url]: https://github.com/stdlib-js/number-int32-base-to-uint32/blob/main/branches.md
|
|
185
194
|
|
|
186
195
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/number-int32-base-to-uint32/main/LICENSE
|
|
187
196
|
|
|
197
|
+
<!-- <related-links> -->
|
|
198
|
+
|
|
199
|
+
[@stdlib/number/uint32/base/to-int32]: https://www.npmjs.com/package/@stdlib/number-uint32-base-to-int32
|
|
200
|
+
|
|
201
|
+
<!-- </related-links> -->
|
|
202
|
+
|
|
188
203
|
</section>
|
|
189
204
|
|
|
190
205
|
<!-- /.links -->
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
* @returns unsigned 32-bit integer
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
|
-
* var float64ToInt32 = require(
|
|
28
|
+
* var float64ToInt32 = require( '@stdlib/number-float64-base-to-int32' );
|
|
29
29
|
* var y = int32ToUint32( float64ToInt32( -1.0 ) );
|
|
30
30
|
* // returns 4294967295
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
* var float64ToInt32 = require(
|
|
33
|
+
* var float64ToInt32 = require( '@stdlib/number-float64-base-to-int32' );
|
|
34
34
|
* var y = int32ToUint32( float64ToInt32( 3 ) );
|
|
35
35
|
* // returns 3
|
|
36
36
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/number-int32-base-to-uint32",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Convert a signed 32-bit integer to an unsigned 32-bit integer.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -38,15 +38,16 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@stdlib/
|
|
42
|
-
"@stdlib/
|
|
43
|
-
"@stdlib/math-base-
|
|
44
|
-
"@stdlib/
|
|
45
|
-
"@stdlib/
|
|
46
|
-
"@stdlib/random-base-randu": "^0.0.8",
|
|
41
|
+
"@stdlib/constants-int32-max": "^0.1.1",
|
|
42
|
+
"@stdlib/math-base-assert-is-nan": "^0.1.1",
|
|
43
|
+
"@stdlib/math-base-special-round": "^0.1.1",
|
|
44
|
+
"@stdlib/number-float64-base-to-int32": "^0.1.1",
|
|
45
|
+
"@stdlib/random-base-randu": "^0.1.0",
|
|
47
46
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
48
47
|
"istanbul": "^0.4.1",
|
|
49
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
48
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
49
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
50
|
+
"@stdlib/bench": "^0.3.1"
|
|
50
51
|
},
|
|
51
52
|
"engines": {
|
|
52
53
|
"node": ">=0.10.0",
|
package/CITATION.cff
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
cff-version: 1.2.0
|
|
2
|
-
title: stdlib
|
|
3
|
-
message: >-
|
|
4
|
-
If you use this software, please cite it using the
|
|
5
|
-
metadata from this file.
|
|
6
|
-
|
|
7
|
-
type: software
|
|
8
|
-
|
|
9
|
-
authors:
|
|
10
|
-
- name: The Stdlib Authors
|
|
11
|
-
url: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
12
|
-
|
|
13
|
-
repository-code: https://github.com/stdlib-js/stdlib
|
|
14
|
-
url: https://stdlib.io
|
|
15
|
-
|
|
16
|
-
abstract: |
|
|
17
|
-
Standard library for JavaScript and Node.js.
|
|
18
|
-
|
|
19
|
-
keywords:
|
|
20
|
-
- JavaScript
|
|
21
|
-
- Node.js
|
|
22
|
-
- TypeScript
|
|
23
|
-
- standard library
|
|
24
|
-
- scientific computing
|
|
25
|
-
- numerical computing
|
|
26
|
-
- statistical computing
|
|
27
|
-
|
|
28
|
-
license: Apache-2.0 AND BSL-1.0
|
|
29
|
-
|
|
30
|
-
date-released: 2016
|