@stdlib/math-base-assert-uint32-is-pow2 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
@@ -172,14 +172,14 @@ int main( void ) {
172
172
  bool b;
173
173
  int i;
174
174
 
175
- for ( i = 0; i < 9; i++ ) {
175
+ for ( i = 0; i < 10; i++ ) {
176
176
  b = stdlib_base_uint32_is_pow2( x[ i ] );
177
177
  printf( "Value: %u. is a power of 2? %s.\n", x[ i ], ( b ) ? "True" : "False" );
178
178
  }
179
179
  }
180
180
  ```
181
181
 
182
- </section>s
182
+ </section>
183
183
 
184
184
  <!-- /.examples -->
185
185
 
@@ -221,7 +221,7 @@ See [LICENSE][stdlib-license].
221
221
 
222
222
  ## Copyright
223
223
 
224
- Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
224
+ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
225
225
 
226
226
  </section>
227
227
 
@@ -234,8 +234,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
234
234
  [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-assert-uint32-is-pow2.svg
235
235
  [npm-url]: https://npmjs.org/package/@stdlib/math-base-assert-uint32-is-pow2
236
236
 
237
- [test-image]: https://github.com/stdlib-js/math-base-assert-uint32-is-pow2/actions/workflows/test.yml/badge.svg?branch=v0.3.0
238
- [test-url]: https://github.com/stdlib-js/math-base-assert-uint32-is-pow2/actions/workflows/test.yml?query=branch:v0.3.0
237
+ [test-image]: https://github.com/stdlib-js/math-base-assert-uint32-is-pow2/actions/workflows/test.yml/badge.svg?branch=v0.3.2
238
+ [test-url]: https://github.com/stdlib-js/math-base-assert-uint32-is-pow2/actions/workflows/test.yml?query=branch:v0.3.2
239
239
 
240
240
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-assert-uint32-is-pow2/main.svg
241
241
  [coverage-url]: https://codecov.io/github/stdlib-js/math-base-assert-uint32-is-pow2?branch=main
@@ -247,8 +247,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
247
247
 
248
248
  -->
249
249
 
250
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
251
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
250
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
251
+ [chat-url]: https://stdlib.zulipchat.com
252
252
 
253
253
  [stdlib]: https://github.com/stdlib-js/stdlib
254
254
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-assert-uint32-is-pow2",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Test whether an unsigned integer is a power of 2.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -33,7 +33,7 @@
33
33
  "url": "https://github.com/stdlib-js/stdlib/issues"
34
34
  },
35
35
  "dependencies": {
36
- "@stdlib/utils-library-manifest": "^0.2.1"
36
+ "@stdlib/utils-library-manifest": "^0.2.3"
37
37
  },
38
38
  "devDependencies": {},
39
39
  "engines": {
package/src/addon.c CHANGED
@@ -18,6 +18,7 @@
18
18
 
19
19
  #include "stdlib/math/base/assert/uint32_is_pow2.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
@@ -17,6 +17,7 @@
17
17
  */
18
18
 
19
19
  #include "stdlib/math/base/assert/uint32_is_pow2.h"
20
+ #include <stdbool.h>
20
21
  #include <stdint.h>
21
22
 
22
23
  /**