@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 +1 -1
- package/README.md +7 -7
- package/package.json +2 -2
- package/src/addon.c +1 -0
- package/src/main.c +1 -0
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
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 <
|
|
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>
|
|
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 © 2016-
|
|
224
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
225
225
|
|
|
226
226
|
</section>
|
|
227
227
|
|
|
@@ -234,8 +234,8 @@ Copyright © 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.
|
|
238
|
-
[test-url]: https://github.com/stdlib-js/math-base-assert-uint32-is-pow2/actions/workflows/test.yml?query=branch:v0.3.
|
|
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 © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
247
247
|
|
|
248
248
|
-->
|
|
249
249
|
|
|
250
|
-
[chat-image]: https://img.shields.io/
|
|
251
|
-
[chat-url]: https://
|
|
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.
|
|
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.
|
|
36
|
+
"@stdlib/utils-library-manifest": "^0.2.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {},
|
|
39
39
|
"engines": {
|
package/src/addon.c
CHANGED