Skip to content

Commit aec1213

Browse files
committed
chore: stuff from code review
1 parent d1264e9 commit aec1213

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/node_modules/@stdlib/math/base/special/lcmf/benchmark/benchmark.js

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

4141
b.tic();
4242
for ( i = 0; i < b.iterations; i++ ) {
43-
z = lcmf( x[ i%x.length ], y[ i%y.length ] );
43+
z = lcmf( x[ i % x.length ], y[ i % y.length ] );
4444
if ( isnanf( z ) ) {
4545
b.fail( 'should not return NaN' );
4646
}

lib/node_modules/@stdlib/math/base/special/lcmf/benchmark/benchmark.native.js

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

5050
b.tic();
5151
for ( i = 0; i < b.iterations; i++ ) {
52-
z = lcmf( x[ i%x.length ], y[ i%y.length ] );
52+
z = lcmf( x[ i % x.length ], y[ i % y.length ] );
5353
if ( isnanf( z ) ) {
5454
b.fail( 'should not return NaN' );
5555
}

lib/node_modules/@stdlib/math/base/special/lcmf/src/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @return least common multiple
2929
*
3030
* @example
31-
* float out = stdlib_base_lcmf( 21.0f, 6.0f );
31+
* double out = stdlib_base_lcmf( 21.0f, 6.0f );
3232
* // returns 42.0f
3333
*/
3434
float stdlib_base_lcmf( const float a, const float b ) {
@@ -49,7 +49,6 @@ float stdlib_base_lcmf( const float a, const float b ) {
4949
} else {
5050
bn = b;
5151
}
52-
5352
// Note: we rely on `gcdf` to perform further argument validation...
5453
d = stdlib_base_gcdf( an, bn );
5554
if ( stdlib_base_is_nanf( d ) ) {

0 commit comments

Comments
 (0)