@stdlib/math-base-assert-is-nonnegative-finite 0.3.0 → 0.3.1
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 +19 -5
- package/package.json +3 -3
- package/src/addon.c +1 -0
- package/src/main.c +2 -1
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -202,6 +202,14 @@ int main( void ) {
|
|
|
202
202
|
|
|
203
203
|
<section class="related">
|
|
204
204
|
|
|
205
|
+
* * *
|
|
206
|
+
|
|
207
|
+
## See Also
|
|
208
|
+
|
|
209
|
+
- <span class="package-name">[`@stdlib/math-base/assert/is-negative-finite`][@stdlib/math/base/assert/is-negative-finite]</span><span class="delimiter">: </span><span class="description">test if a double-precision floating-point numeric value is a negative finite number.</span>
|
|
210
|
+
- <span class="package-name">[`@stdlib/math-base/assert/is-positive-finite`][@stdlib/math/base/assert/is-positive-finite]</span><span class="delimiter">: </span><span class="description">test if a double-precision floating-point numeric value is a positive finite number.</span>
|
|
211
|
+
- <span class="package-name">[`@stdlib/math-base/assert/is-nonpositive-finite`][@stdlib/math/base/assert/is-nonpositive-finite]</span><span class="delimiter">: </span><span class="description">test if a numeric value is a nonpositive finite number.</span>
|
|
212
|
+
|
|
205
213
|
</section>
|
|
206
214
|
|
|
207
215
|
<!-- /.related -->
|
|
@@ -232,7 +240,7 @@ See [LICENSE][stdlib-license].
|
|
|
232
240
|
|
|
233
241
|
## Copyright
|
|
234
242
|
|
|
235
|
-
Copyright © 2016-
|
|
243
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
236
244
|
|
|
237
245
|
</section>
|
|
238
246
|
|
|
@@ -245,8 +253,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
245
253
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-assert-is-nonnegative-finite.svg
|
|
246
254
|
[npm-url]: https://npmjs.org/package/@stdlib/math-base-assert-is-nonnegative-finite
|
|
247
255
|
|
|
248
|
-
[test-image]: https://github.com/stdlib-js/math-base-assert-is-nonnegative-finite/actions/workflows/test.yml/badge.svg?branch=v0.3.
|
|
249
|
-
[test-url]: https://github.com/stdlib-js/math-base-assert-is-nonnegative-finite/actions/workflows/test.yml?query=branch:v0.3.
|
|
256
|
+
[test-image]: https://github.com/stdlib-js/math-base-assert-is-nonnegative-finite/actions/workflows/test.yml/badge.svg?branch=v0.3.1
|
|
257
|
+
[test-url]: https://github.com/stdlib-js/math-base-assert-is-nonnegative-finite/actions/workflows/test.yml?query=branch:v0.3.1
|
|
250
258
|
|
|
251
259
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-assert-is-nonnegative-finite/main.svg
|
|
252
260
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-assert-is-nonnegative-finite?branch=main
|
|
@@ -258,8 +266,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
258
266
|
|
|
259
267
|
-->
|
|
260
268
|
|
|
261
|
-
[chat-image]: https://img.shields.io/
|
|
262
|
-
[chat-url]: https://
|
|
269
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
270
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
263
271
|
|
|
264
272
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
265
273
|
|
|
@@ -280,6 +288,12 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
280
288
|
|
|
281
289
|
<!-- <related-links> -->
|
|
282
290
|
|
|
291
|
+
[@stdlib/math/base/assert/is-negative-finite]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-negative-finite
|
|
292
|
+
|
|
293
|
+
[@stdlib/math/base/assert/is-positive-finite]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-positive-finite
|
|
294
|
+
|
|
295
|
+
[@stdlib/math/base/assert/is-nonpositive-finite]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-nonpositive-finite
|
|
296
|
+
|
|
283
297
|
<!-- </related-links> -->
|
|
284
298
|
|
|
285
299
|
</section>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-assert-is-nonnegative-finite",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Test if a numeric value is a nonnegative finite number.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@stdlib/constants-float64-pinf": "^0.2.
|
|
37
|
-
"@stdlib/utils-library-manifest": "^0.2.
|
|
36
|
+
"@stdlib/constants-float64-pinf": "^0.2.2",
|
|
37
|
+
"@stdlib/utils-library-manifest": "^0.2.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {},
|
|
40
40
|
"engines": {
|
package/src/addon.c
CHANGED
package/src/main.c
CHANGED
|
@@ -18,12 +18,13 @@
|
|
|
18
18
|
|
|
19
19
|
#include "stdlib/math/base/assert/is_nonnegative_finite.h"
|
|
20
20
|
#include "stdlib/constants/float64/pinf.h"
|
|
21
|
+
#include <stdbool.h>
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Tests if a numeric value is a nonnegative finite number.
|
|
24
25
|
*
|
|
25
26
|
* @param x input value
|
|
26
|
-
* @return
|
|
27
|
+
* @return output value
|
|
27
28
|
*
|
|
28
29
|
* @example
|
|
29
30
|
* #include <stdbool.h>
|