You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/random/base/uniform/src/main.c
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -16,30 +16,28 @@
16
16
* limitations under the License.
17
17
*/
18
18
19
-
// Note: keep project includes in alphabetical order...
20
-
#include<stdlib.h>
21
-
#include<math.h>
22
-
#include"stdlib/random/base.h"
23
19
#include"stdlib/random/base/uniform.h"
20
+
#include"stdlib/random/base/shared.h"
21
+
#include<stdlib.h>
24
22
25
23
/**
26
24
* Returns a pseudorandom number drawn from a continuous uniform distribution with parameters `a` (minimum support; inclusive) and `b` (maximum support; exclusive).
27
25
*
28
26
* ## Notes
29
27
*
30
-
* - The function returns `NAN` if provided a `NULL` pointer.
28
+
* - The function returns `NaN` if provided a `NULL` pointer.
31
29
*
32
30
* @param randu PRNG object which generates uniformly distributed pseudorandom numbers on the interval `[0,1)`
0 commit comments