@stdlib/number-float64-base-to-float32 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 +6 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +1 -1
- package/package.json +10 -9
- 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
|
@@ -136,7 +136,7 @@ See [LICENSE][stdlib-license].
|
|
|
136
136
|
|
|
137
137
|
## Copyright
|
|
138
138
|
|
|
139
|
-
Copyright © 2016-
|
|
139
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
140
140
|
|
|
141
141
|
</section>
|
|
142
142
|
|
|
@@ -149,8 +149,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
149
149
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-float64-base-to-float32.svg
|
|
150
150
|
[npm-url]: https://npmjs.org/package/@stdlib/number-float64-base-to-float32
|
|
151
151
|
|
|
152
|
-
[test-image]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
153
|
-
[test-url]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml?query=branch:v0.
|
|
152
|
+
[test-image]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
153
|
+
[test-url]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml?query=branch:v0.2.0
|
|
154
154
|
|
|
155
155
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float64-base-to-float32/main.svg
|
|
156
156
|
[coverage-url]: https://codecov.io/github/stdlib-js/number-float64-base-to-float32?branch=main
|
|
@@ -173,8 +173,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
173
173
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
174
174
|
|
|
175
175
|
[deno-url]: https://github.com/stdlib-js/number-float64-base-to-float32/tree/deno
|
|
176
|
+
[deno-readme]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/deno/README.md
|
|
176
177
|
[umd-url]: https://github.com/stdlib-js/number-float64-base-to-float32/tree/umd
|
|
178
|
+
[umd-readme]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/umd/README.md
|
|
177
179
|
[esm-url]: https://github.com/stdlib-js/number-float64-base-to-float32/tree/esm
|
|
180
|
+
[esm-readme]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/esm/README.md
|
|
178
181
|
[branches-url]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/main/branches.md
|
|
179
182
|
|
|
180
183
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/number-float64-base-to-float32/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* @returns nearest single-precision floating-point number
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
|
-
* var float64ToFloat32 = require(
|
|
28
|
+
* var float64ToFloat32 = require( '@stdlib/number-float64-base-to-float32' );
|
|
29
29
|
*
|
|
30
30
|
* var y = float64ToFloat32( 1.337 );
|
|
31
31
|
* // returns 1.3370000123977661
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/number-float64-base-to-float32",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Convert a double-precision floating-point number to the nearest single-precision floating-point number.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,19 +37,20 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-float32": "^0.
|
|
40
|
+
"@stdlib/array-float32": "^0.2.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@stdlib/
|
|
44
|
-
"@stdlib/constants-float64-
|
|
45
|
-
"@stdlib/
|
|
46
|
-
"@stdlib/math-base-assert-is-
|
|
47
|
-
"@stdlib/
|
|
48
|
-
"@stdlib/random-base-randu": "^0.0.8",
|
|
43
|
+
"@stdlib/constants-float64-ninf": "^0.1.1",
|
|
44
|
+
"@stdlib/constants-float64-pinf": "^0.1.1",
|
|
45
|
+
"@stdlib/math-base-assert-is-nan": "^0.1.1",
|
|
46
|
+
"@stdlib/math-base-assert-is-negative-zero": "^0.1.1",
|
|
47
|
+
"@stdlib/random-base-randu": "^0.1.0",
|
|
49
48
|
"proxyquire": "^2.0.0",
|
|
50
49
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
51
50
|
"istanbul": "^0.4.1",
|
|
52
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
51
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
52
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
53
|
+
"@stdlib/bench": "^0.3.1"
|
|
53
54
|
},
|
|
54
55
|
"engines": {
|
|
55
56
|
"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
|