Mail Archives: djgpp/1997/06/16/00:02:39
Eli Zaretskii wrote:
>
> On Wed, 11 Jun 1997, Nate Eldredge wrote:
>
> > This works for me. It's theoretically possible that something depends on the
> > broken version, and this would break that. But I seriously doubt it.
> >
> > Perhaps a fix like this should be made to the next DJGPP release.
>
> The bug is in the docs, not in the code. The next release will fix
> the docs.
>
Eli :
Could you comment on why it is preferable to fix the docs rather
than fix the function. As it is now, clock() and rawclock() seem
quite similar. Redundant perhaps.
> `rawclock' is not meant to be used as a randomizer, use `time' for
> that.
time() returns a large integer which is the total number of seconds
since God knows when. One second resolution not so great in a fast
running program.
- Raw text -