We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8839ab9 commit 2d4f664Copy full SHA for 2d4f664
lib/node_modules/@stdlib/stats/base/dists/geometric/median/README.md
@@ -154,7 +154,7 @@ Returns the [median][median] of a [geometric][geometric-distribution] distributi
154
155
```c
156
double out = stdlib_base_dists_geometric_median( 0.5 );
157
-// returns 1
+// returns 0
158
```
159
160
The function accepts the following arguments:
@@ -187,7 +187,6 @@ double stdlib_base_dists_geometric_median( const double p );
187
#include "stdlib/stats/base/dists/geometric/median.h"
188
#include <stdlib.h>
189
#include <stdio.h>
190
-#include <math.h>
191
192
static double random_uniform( const double min, const double max ) {
193
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
0 commit comments