Skip to content

Commit cd2cab4

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent c751bb6 commit cd2cab4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/math/base/special/gcdf/benchmark/c/native/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ static double benchmark( void ) {
9898
int i;
9999

100100
for ( i = 0; i < 100; i++ ) {
101-
a[ i ] = round( 500.0f * rand_float() );
102-
b[ i ] = round( 500.0f * rand_float() );
101+
a[ i ] = roundf( 500.0f * rand_float() );
102+
b[ i ] = roundf( 500.0f * rand_float() );
103103
}
104104

105105
t = tic();

lib/node_modules/@stdlib/math/base/special/gcdf/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
"$schema": "math/[email protected]",
7878
"base_alias": "gcd",
7979
"alias": "gcdf",
80-
"pkg_desc": "compute the greatest common divisor (gcd) of two single-precision floating-point numbers",
81-
"desc": "computes the greatest common divisor (gcd) of two single-precision floating-point numbers",
80+
"pkg_desc": "compute the greatest common divisor (gcd)",
81+
"desc": "computes the greatest common divisor (gcd)",
8282
"short_desc": "greatest common divisor (gcd)",
8383
"parameters": [
8484
{

0 commit comments

Comments
 (0)