Skip to content

Commit 00cb1cb

Browse files
authored
docs: update descriptions
PR-URL: #12854 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 0cd5a91 commit 00cb1cb

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/node_modules/@stdlib/math/base/assert/uint32-is-pow2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# isPow2Uint32
2222

23-
> Test whether an unsigned integer is a power of 2.
23+
> Test if an unsigned integer is a power of 2.
2424
2525
<section class="usage">
2626

@@ -32,7 +32,7 @@ var isPow2Uint32 = require( '@stdlib/math/base/assert/uint32-is-pow2' );
3232

3333
#### isPow2Uint32( x )
3434

35-
Tests whether `x` is a power of 2.
35+
Tests if `x` is a power of 2.
3636

3737
```javascript
3838
var bool = isPow2Uint32( 2 );
@@ -100,7 +100,7 @@ for ( i = 0; i < 100; i++ ) {
100100

101101
#### stdlib_base_uint32_is_pow2( x )
102102

103-
Tests whether an unsigned integer is a power of 2.
103+
Tests if an unsigned integer is a power of 2.
104104

105105
```c
106106
#include <stdbool.h>

lib/node_modules/@stdlib/math/base/assert/uint32-is-pow2/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// TypeScript Version: 4.1
2020

2121
/**
22-
* Tests whether an unsigned integer is a power of 2.
22+
* Tests if an unsigned integer is a power of 2.
2323
*
2424
* @param x - value to test
2525
* @returns boolean indicating whether a value is a power of 2

lib/node_modules/@stdlib/math/base/assert/uint32-is-pow2/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Test whether an unsigned integer is a power of 2.
22+
* Test if an unsigned integer is a power of 2.
2323
*
2424
* @module @stdlib/math/base/assert/uint32-is-pow2
2525
*
@@ -35,9 +35,9 @@
3535

3636
// MODULES //
3737

38-
var isPow2Uint32 = require( './main.js' );
38+
var main = require( './main.js' );
3939

4040

4141
// EXPORTS //
4242

43-
module.exports = isPow2Uint32;
43+
module.exports = main;

lib/node_modules/@stdlib/math/base/assert/uint32-is-pow2/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MAIN //
2222

2323
/**
24-
* Tests whether an unsigned integer is a power of 2.
24+
* Tests if an unsigned integer is a power of 2.
2525
*
2626
* @param {uinteger32} x - value to test
2727
* @returns {boolean} boolean indicating whether a value is a power of 2

lib/node_modules/@stdlib/math/base/assert/uint32-is-pow2/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var addon = require( './../src/addon.node' );
2727
// MAIN //
2828

2929
/**
30-
* Tests whether an unsigned integer is a power of 2.
30+
* Tests if an unsigned integer is a power of 2.
3131
*
3232
* @private
3333
* @param {number} x - value to test

lib/node_modules/@stdlib/math/base/assert/uint32-is-pow2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/math/base/assert/uint32-is-pow2",
33
"version": "0.0.0",
4-
"description": "Test whether an unsigned integer is a power of 2.",
4+
"description": "Test if an unsigned integer is a power of 2.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

0 commit comments

Comments
 (0)