Mail Archives: djgpp-workers/1998/09/28/19:00:15
> So it looks like the only BSD functions left are `random' and friends,
> and the time functions in ansi/time/ctime.c. I'm not sure what of this
> is worth rewriting; in the first case, there is always `rand', and the
> time stuff looks rather complicated.
ctime.c is *very* complicated. It took me a while to get it running
as is!
Random() isn't complicated, but the math is, and it would have to be
re-implemented from algorithms. Anyone got a good description of the
random() algorithm, to post? Then if someone else has time, they can
start on it.
Of course, a public domain (not gnu or bsd) version of either would be
helpful.
- Raw text -