Skip to content

Commit 7c6d2b7

Browse files
authored
docs: update examples for stdlib/base/dists/binomial/stdev
PR-URL: #5311 Closes: #5305 Reviewed-by: Karan Anand <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent 33b72c5 commit 7c6d2b7

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/binomial/stdev

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/binomial/stdev/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Returns the [standard deviation][stdev] of a [binomial][binomial-distribution] d
171171

172172
```c
173173
double out = stdlib_base_dists_binomial_stdev( 100, 0.1 );
174-
// returns 3
174+
// returns 3.0
175175
```
176176

177177
The function accepts the following arguments:
@@ -181,6 +181,7 @@ The function accepts the following arguments:
181181

182182
```c
183183
double stdlib_base_dists_binomial_stdev( const int32_t n, const double p );
184+
```
184185
185186
</section>
186187

0 commit comments

Comments
 (0)