Skip to content

Commit 3e52291

Browse files
authored
chore: remove spaces before asterisks
1 parent 9df294b commit 3e52291

File tree

1 file changed

+28
-28
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/arcsine/skewness/benchmark/c

1 file changed

+28
-28
lines changed

lib/node_modules/@stdlib/stats/base/dists/arcsine/skewness/benchmark/c/benchmark.c

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@
2727
#define REPEATS 3
2828

2929
/**
30-
* Prints the TAP version.
31-
*/
30+
* Prints the TAP version.
31+
*/
3232
static void print_version( void ) {
3333
printf( "TAP version 13\n" );
3434
}
3535

3636
/**
37-
* Prints the TAP summary.
38-
*
39-
* @param total total number of tests
40-
* @param passing total number of passing tests
41-
*/
37+
* Prints the TAP summary.
38+
*
39+
* @param total total number of tests
40+
* @param passing total number of passing tests
41+
*/
4242
static void print_summary( int total, int passing ) {
4343
printf( "#\n" );
4444
printf( "1..%d\n", total ); // TAP plan
@@ -49,10 +49,10 @@ static void print_summary( int total, int passing ) {
4949
}
5050

5151
/**
52-
* Prints benchmarks results.
53-
*
54-
* @param elapsed elapsed time in seconds
55-
*/
52+
* Prints benchmarks results.
53+
*
54+
* @param elapsed elapsed time in seconds
55+
*/
5656
static void print_results( double elapsed ) {
5757
double rate = (double)ITERATIONS / elapsed;
5858
printf( " ---\n" );
@@ -63,33 +63,33 @@ static void print_results( double elapsed ) {
6363
}
6464

6565
/**
66-
* Returns a clock time.
67-
*
68-
* @return clock time
69-
*/
66+
* Returns a clock time.
67+
*
68+
* @return clock time
69+
*/
7070
static double tic( void ) {
7171
struct timeval now;
7272
gettimeofday( &now, NULL );
7373
return (double)now.tv_sec + (double)now.tv_usec / 1.0e6;
7474
}
7575

7676
/**
77-
* Generates a random number on the interval [min,max).
78-
*
79-
* @param min minimum value (inclusive)
80-
* @param max maximum value (exclusive)
81-
* @return random number
82-
*/
77+
* Generates a random number on the interval [min,max).
78+
*
79+
* @param min minimum value (inclusive)
80+
* @param max maximum value (exclusive)
81+
* @return random number
82+
*/
8383
static double random_uniform( const double min, const double max ) {
8484
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
85-
return min + ( v * ( max - min ) );
85+
return min + ( v* ( max - min ) );
8686
}
8787

8888
/**
89-
* Runs a benchmark.
90-
*
91-
* @return elapsed time in seconds
92-
*/
89+
* Runs a benchmark.
90+
*
91+
* @return elapsed time in seconds
92+
*/
9393
static double benchmark( void ) {
9494
double elapsed;
9595
double a[ 100 ];
@@ -119,8 +119,8 @@ static double benchmark( void ) {
119119
}
120120

121121
/**
122-
* Main execution sequence.
123-
*/
122+
* Main execution sequence.
123+
*/
124124
int main( void ) {
125125
double elapsed;
126126
int i;

0 commit comments

Comments
 (0)