Skip to content

Commit fc55962

Browse files
committed
chore: changes in function description
1 parent d8d7123 commit fc55962

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

lib/node_modules/@stdlib/math/base/assert/is-oddf/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
# isOddf
2222

23-
> Test if a finite single-precision floating-point number is an odd number.
23+
> Test if a finite single-precision floating-point nummeric value is an odd number.
2424
2525
<section class="usage">
2626

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

3333
#### isOddf( x )
3434

35-
Tests if a **finite** single-precision floating-point number is an odd number.
35+
Tests if a **finite** single-precision floating-point numeric value is an odd number.
3636

3737
```javascript
3838
var bool = isOddf( 5.0 );
@@ -132,7 +132,7 @@ for ( i = 0; i < 100; i++ ) {
132132

133133
#### stdlib_base_is_oddf( x )
134134

135-
Tests if a finite single-precision floating-point number is an odd number.
135+
Tests if a finite single-precision floating-point numeric value is an odd number.
136136

137137
```c
138138
#include <stdbool.h>

lib/node_modules/@stdlib/math/base/assert/is-oddf/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bench( pkg, function benchmark( b ) {
3737

3838
b.tic();
3939
for ( i = 0; i < b.iterations; i++ ) {
40-
x = roundf( (randu() * 1.0e7) - 5.0e6 );
40+
x = roundf( ( randu() * 1.0e7 ) - 5.0e6 );
4141
y = isOddf( x );
4242
if ( typeof y !== 'boolean' ) {
4343
b.fail( 'should return a boolean' );

lib/node_modules/@stdlib/math/base/assert/is-oddf/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ bench( pkg, opts, function benchmark( b ) {
4646

4747
b.tic();
4848
for ( i = 0; i < b.iterations; i++ ) {
49-
x = roundf( (randu() * 1.0e7) - 5.0e6 );
49+
x = roundf( ( randu() * 1.0e7 ) - 5.0e6 );
5050
y = isOddf( x );
5151
if ( typeof y !== 'boolean' ) {
5252
b.fail( 'should return a boolean' );

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Test if a finite single-precision floating-point number is an odd number.
22+
* Test if a finite single-precision floating-point numeric value is an odd number.
2323
*
2424
* @module @stdlib/math/base/assert/is-oddf
2525
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var isEvenf = require( '@stdlib/math/base/assert/is-evenf' );
2626
// MAIN //
2727

2828
/**
29-
* Tests if a finite single-precision floating-point number is an odd number.
29+
* Tests if a finite single-precision floating-point numeric value is an odd number.
3030
*
3131
* @param {number} x - value to test
3232
* @returns {boolean} boolean indicating whether the value is an odd number

lib/node_modules/@stdlib/math/base/assert/is-oddf/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 if a finite single-precision floating-point number is an odd number.
30+
* Tests if a finite single-precision floating-point numeric value is an odd number.
3131
*
3232
* @private
3333
* @param {number} x - value to test

lib/node_modules/@stdlib/math/base/assert/is-oddf/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ tape( 'WARNING: the function returns `true` if provided `-infinity`', function t
8282

8383
tape( 'the function returns `false` if provided `NaN`', function test( t ) {
8484
t.equal( isOddf( NaN ), false, 'returns false' );
85-
t.equal( isOddf( 0.0/0.0 ), false, 'returns false' );
85+
t.equal( isOddf( 0.0 / 0.0 ), false, 'returns false' );
8686
t.end();
8787
});

0 commit comments

Comments
 (0)