Skip to content

Commit 915d143

Browse files
author
Jim-215-Fisher
committed
add limitation note in specs
1 parent 09f8fd2 commit 915d143

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/specs/stdlib_stats_distribution_normal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ With two arguments, the function returns a normal distributed random variate N(l
2222

2323
With three arguments, the function returns a rank one array of normal distributed random variates.
2424

25+
Note: the algorithm used for generating normal random variates is fundamentally limited to double precision.
26+
2527
### Syntax
2628

2729
`result = [[stdlib_stats_distribution_normal(module):rvs_normal(interface)]]([loc, scale] [[, array_size]])`

src/stdlib_stats_distribution_normal.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#:include "common.fypp"
22
#:set RC_KINDS_TYPES = REAL_KINDS_TYPES + CMPLX_KINDS_TYPES
33
module stdlib_stats_distribution_normal
4-
use stdlib_kinds, only :: sp, dp, xdp, qp, int32
4+
use stdlib_kinds, only : sp, dp, xdp, qp, int32
55
use stdlib_error, only : error_stop
66
use stdlib_random, only : dist_rand
77
use stdlib_stats_distribution_uniform, only : uni=>rvs_uniform

0 commit comments

Comments
 (0)