[Coco] Looking for C mlib and randomlib manuals.
Robert Gault
robert.gault at att.net
Thu May 16 08:03:51 EDT 2019
Walter,
The Basic RND(n) function "Generates a "random" number between 1 and n if n>1, or between 0 and 1 if
n=0.
Far as I know, what happens is that a random number between 0 and 1 is generated and then multiplied
by n. You can use anything for n.
Far as Linux or any other language goes, they ought but might not work the same way.
Robert
Walter Zambotti wrote:
> Does anyone know if and where the manuals are for the maths and random
> libraries.
>
>
>
> I need to know the maximum value produced by rand() normally defined as
> RAND_MAX in Linux.
>
>
>
> Walter
>
>
>
>
>
>
More information about the Coco
mailing list