Skip to content

Commit 167cf51

Browse files
Om-A-osckgrytestdlib-bot
authored
chore: remove unused rand_double helper in stats/strided/dmaxabssorted
PR-URL: #10180 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Co-authored-by: stdlib-bot <noreply@stdlib.io>
1 parent 1fa7f29 commit 167cf51

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/node_modules/@stdlib/stats/strided/dmaxabssorted/benchmark/c/benchmark.length.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ static double tic( void ) {
7777
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7878
}
7979

80-
/**
81-
* Generates a random number on the interval [0,1).
82-
*
83-
* @return random number
84-
*/
85-
static double rand_double( void ) {
86-
int r = rand();
87-
return (double)r / ( (double)RAND_MAX + 1.0 );
88-
}
89-
9080
/**
9181
* Runs a benchmark.
9282
*

0 commit comments

Comments
 (0)