@stdlib/math-base-assert-is-positive-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
|
@@ -199,6 +199,14 @@ int main( void ) {
|
|
|
199
199
|
|
|
200
200
|
<section class="related">
|
|
201
201
|
|
|
202
|
+
* * *
|
|
203
|
+
|
|
204
|
+
## See Also
|
|
205
|
+
|
|
206
|
+
- <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>
|
|
207
|
+
- <span class="package-name">[`@stdlib/math-base/assert/is-nonnegative-finite`][@stdlib/math/base/assert/is-nonnegative-finite]</span><span class="delimiter">: </span><span class="description">test if a numeric value is a nonnegative finite number.</span>
|
|
208
|
+
- <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>
|
|
209
|
+
|
|
202
210
|
</section>
|
|
203
211
|
|
|
204
212
|
<!-- /.related -->
|
|
@@ -229,7 +237,7 @@ See [LICENSE][stdlib-license].
|
|
|
229
237
|
|
|
230
238
|
## Copyright
|
|
231
239
|
|
|
232
|
-
Copyright © 2016-
|
|
240
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
233
241
|
|
|
234
242
|
</section>
|
|
235
243
|
|
|
@@ -242,8 +250,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
242
250
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-assert-is-positive-finite.svg
|
|
243
251
|
[npm-url]: https://npmjs.org/package/@stdlib/math-base-assert-is-positive-finite
|
|
244
252
|
|
|
245
|
-
[test-image]: https://github.com/stdlib-js/math-base-assert-is-positive-finite/actions/workflows/test.yml/badge.svg?branch=v0.3.
|
|
246
|
-
[test-url]: https://github.com/stdlib-js/math-base-assert-is-positive-finite/actions/workflows/test.yml?query=branch:v0.3.
|
|
253
|
+
[test-image]: https://github.com/stdlib-js/math-base-assert-is-positive-finite/actions/workflows/test.yml/badge.svg?branch=v0.3.1
|
|
254
|
+
[test-url]: https://github.com/stdlib-js/math-base-assert-is-positive-finite/actions/workflows/test.yml?query=branch:v0.3.1
|
|
247
255
|
|
|
248
256
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-assert-is-positive-finite/main.svg
|
|
249
257
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-assert-is-positive-finite?branch=main
|
|
@@ -255,8 +263,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
255
263
|
|
|
256
264
|
-->
|
|
257
265
|
|
|
258
|
-
[chat-image]: https://img.shields.io/
|
|
259
|
-
[chat-url]: https://
|
|
266
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
267
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
260
268
|
|
|
261
269
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
262
270
|
|
|
@@ -277,6 +285,12 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
277
285
|
|
|
278
286
|
<!-- <related-links> -->
|
|
279
287
|
|
|
288
|
+
[@stdlib/math/base/assert/is-negative-finite]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-negative-finite
|
|
289
|
+
|
|
290
|
+
[@stdlib/math/base/assert/is-nonnegative-finite]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-nonnegative-finite
|
|
291
|
+
|
|
292
|
+
[@stdlib/math/base/assert/is-nonpositive-finite]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-nonpositive-finite
|
|
293
|
+
|
|
280
294
|
<!-- </related-links> -->
|
|
281
295
|
|
|
282
296
|
</section>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-assert-is-positive-finite",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Test if a double-precision floating-point numeric value is a positive 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_positive_finite.h"
|
|
20
20
|
#include "stdlib/constants/float64/pinf.h"
|
|
21
|
+
#include <stdbool.h>
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Tests if a double-precision floating-point numeric value is a positive 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>
|