Mail Archives: djgpp-workers/1999/01/10/07:06:15
On Sat, 9 Jan 1999, Martin Str|mberg wrote:
> Here's the patch to add *rand48() functions to libc. This time with
> documentation.
Thanks. Some comments:
> +@code{srand48()} or @code{seed48()}. A call to @code{lcong48()}
> +changes a and c (and the internal state).
You should not include the parens () when referring to functions. The
parens are redundant at best (since the @code markup already makes the
name of the function stand out), and might be confusing, since people
might think these functions don't accept arguments.
Simply say @code{srand48}, @code{seed48}, etc.
> +@code{srand48()} sets the high order 32 bits to the argument
> +@code{seed}.
Formal arguments should be typeset with @var{}, not with @code{}:
@code{srand48} sets the high order 32 bits to the argument @var{seed}.
There are several other cases like this.
- Raw text -