@stdlib/number-float32-base-signbit 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 +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
|
@@ -109,6 +109,12 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
109
109
|
|
|
110
110
|
<section class="related">
|
|
111
111
|
|
|
112
|
+
* * *
|
|
113
|
+
|
|
114
|
+
## See Also
|
|
115
|
+
|
|
116
|
+
- <span class="package-name">[`@stdlib/number-float64/base/signbit`][@stdlib/number/float64/base/signbit]</span><span class="delimiter">: </span><span class="description">return a boolean indicating if the sign bit for a double-precision floating-point number is on (true) or off (false).</span>
|
|
117
|
+
|
|
112
118
|
</section>
|
|
113
119
|
|
|
114
120
|
<!-- /.related -->
|
|
@@ -139,7 +145,7 @@ See [LICENSE][stdlib-license].
|
|
|
139
145
|
|
|
140
146
|
## Copyright
|
|
141
147
|
|
|
142
|
-
Copyright © 2016-
|
|
148
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
143
149
|
|
|
144
150
|
</section>
|
|
145
151
|
|
|
@@ -152,8 +158,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
152
158
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-float32-base-signbit.svg
|
|
153
159
|
[npm-url]: https://npmjs.org/package/@stdlib/number-float32-base-signbit
|
|
154
160
|
|
|
155
|
-
[test-image]: https://github.com/stdlib-js/number-float32-base-signbit/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
156
|
-
[test-url]: https://github.com/stdlib-js/number-float32-base-signbit/actions/workflows/test.yml?query=branch:v0.
|
|
161
|
+
[test-image]: https://github.com/stdlib-js/number-float32-base-signbit/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
162
|
+
[test-url]: https://github.com/stdlib-js/number-float32-base-signbit/actions/workflows/test.yml?query=branch:v0.2.0
|
|
157
163
|
|
|
158
164
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float32-base-signbit/main.svg
|
|
159
165
|
[coverage-url]: https://codecov.io/github/stdlib-js/number-float32-base-signbit?branch=main
|
|
@@ -176,14 +182,23 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
176
182
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
177
183
|
|
|
178
184
|
[deno-url]: https://github.com/stdlib-js/number-float32-base-signbit/tree/deno
|
|
185
|
+
[deno-readme]: https://github.com/stdlib-js/number-float32-base-signbit/blob/deno/README.md
|
|
179
186
|
[umd-url]: https://github.com/stdlib-js/number-float32-base-signbit/tree/umd
|
|
187
|
+
[umd-readme]: https://github.com/stdlib-js/number-float32-base-signbit/blob/umd/README.md
|
|
180
188
|
[esm-url]: https://github.com/stdlib-js/number-float32-base-signbit/tree/esm
|
|
189
|
+
[esm-readme]: https://github.com/stdlib-js/number-float32-base-signbit/blob/esm/README.md
|
|
181
190
|
[branches-url]: https://github.com/stdlib-js/number-float32-base-signbit/blob/main/branches.md
|
|
182
191
|
|
|
183
192
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/number-float32-base-signbit/main/LICENSE
|
|
184
193
|
|
|
185
194
|
[ieee754]: https://en.wikipedia.org/wiki/IEEE_754-1985
|
|
186
195
|
|
|
196
|
+
<!-- <related-links> -->
|
|
197
|
+
|
|
198
|
+
[@stdlib/number/float64/base/signbit]: https://www.npmjs.com/package/@stdlib/number-float64-base-signbit
|
|
199
|
+
|
|
200
|
+
<!-- </related-links> -->
|
|
201
|
+
|
|
187
202
|
</section>
|
|
188
203
|
|
|
189
204
|
<!-- /.links -->
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
* @returns boolean indicating if sign bit is on or off
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
|
-
* var toFloat32 = require(
|
|
28
|
+
* var toFloat32 = require( '@stdlib/number-float64-base-to-float32' );
|
|
29
29
|
* var bool = signbitf( toFloat32( 4.0 ) );
|
|
30
30
|
* // returns false
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
* var toFloat32 = require(
|
|
33
|
+
* var toFloat32 = require( '@stdlib/number-float64-base-to-float32' );
|
|
34
34
|
* var bool = signbitf( toFloat32( -9.14e-34 ) );
|
|
35
35
|
* // returns true
|
|
36
36
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/number-float32-base-signbit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Return a boolean indicating if the sign bit for a single-precision floating-point number is on (true) or off (false).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,18 +37,19 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/number-float32-base-to-word": "^0.
|
|
40
|
+
"@stdlib/number-float32-base-to-word": "^0.2.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@stdlib/assert-is-boolean": "^0.1.
|
|
44
|
-
"@stdlib/
|
|
45
|
-
"@stdlib/math-base-special-
|
|
46
|
-
"@stdlib/
|
|
47
|
-
"@stdlib/
|
|
48
|
-
"@stdlib/random-base-randu": "^0.0.8",
|
|
43
|
+
"@stdlib/assert-is-boolean": "^0.1.1",
|
|
44
|
+
"@stdlib/math-base-special-pow": "^0.1.0",
|
|
45
|
+
"@stdlib/math-base-special-round": "^0.1.1",
|
|
46
|
+
"@stdlib/number-float64-base-to-float32": "^0.1.1",
|
|
47
|
+
"@stdlib/random-base-randu": "^0.1.0",
|
|
49
48
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
50
49
|
"istanbul": "^0.4.1",
|
|
51
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
50
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
51
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
52
|
+
"@stdlib/bench": "^0.3.1"
|
|
52
53
|
},
|
|
53
54
|
"engines": {
|
|
54
55
|
"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
|