@stdlib/math-base-assert-is-positive-integer 0.3.0 → 0.3.2

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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2024 The Stdlib Authors.
1
+ Copyright (c) 2016-2026 The Stdlib Authors.
package/README.md CHANGED
@@ -55,7 +55,7 @@ var isPositiveInteger = require( '@stdlib/math-base-assert-is-positive-integer'
55
55
 
56
56
  #### isPositiveInteger( x )
57
57
 
58
- Tests if a finite [double-precision floating-point number][ieee754] is a positive `integer`.
58
+ Tests if a finite [double-precision floating-point number][ieee754] is a positive integer.
59
59
 
60
60
  ```javascript
61
61
  var bool = isPositiveInteger( 1.0 );
@@ -257,7 +257,7 @@ See [LICENSE][stdlib-license].
257
257
 
258
258
  ## Copyright
259
259
 
260
- Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
260
+ Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
261
261
 
262
262
  </section>
263
263
 
@@ -270,8 +270,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
270
270
  [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-assert-is-positive-integer.svg
271
271
  [npm-url]: https://npmjs.org/package/@stdlib/math-base-assert-is-positive-integer
272
272
 
273
- [test-image]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/actions/workflows/test.yml/badge.svg?branch=v0.3.0
274
- [test-url]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/actions/workflows/test.yml?query=branch:v0.3.0
273
+ [test-image]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/actions/workflows/test.yml/badge.svg?branch=v0.3.2
274
+ [test-url]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/actions/workflows/test.yml?query=branch:v0.3.2
275
275
 
276
276
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-assert-is-positive-integer/main.svg
277
277
  [coverage-url]: https://codecov.io/github/stdlib-js/math-base-assert-is-positive-integer?branch=main
@@ -283,8 +283,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
283
283
 
284
284
  -->
285
285
 
286
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
287
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
286
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
287
+ [chat-url]: https://stdlib.zulipchat.com
288
288
 
289
289
  [stdlib]: https://github.com/stdlib-js/stdlib
290
290
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-assert-is-positive-integer",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Test if a finite double-precision floating-point number is a positive integer.",
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/math-base-special-floor": "^0.2.2",
37
- "@stdlib/utils-library-manifest": "^0.2.2"
36
+ "@stdlib/math-base-special-floor": "^0.2.3",
37
+ "@stdlib/utils-library-manifest": "^0.2.3"
38
38
  },
39
39
  "devDependencies": {},
40
40
  "engines": {
package/src/addon.c CHANGED
@@ -18,6 +18,7 @@
18
18
 
19
19
  #include "stdlib/math/base/assert/is_positive_integer.h"
20
20
  #include <node_api.h>
21
+ #include <stdbool.h>
21
22
  #include <stdint.h>
22
23
  #include <assert.h>
23
24
 
package/src/main.c CHANGED
@@ -18,6 +18,7 @@
18
18
 
19
19
  #include "stdlib/math/base/assert/is_positive_integer.h"
20
20
  #include "stdlib/math/base/special/floor.h"
21
+ #include <stdbool.h>
21
22
 
22
23
  /**
23
24
  * Tests if a finite double-precision floating-point number is a positive integer.