#5 Access to time

None
wont-fix
nobody
None
5
2013-03-25
2012-02-25
Joey
No

The usefulness of the random number generator is seriously lessened by the lack of any real way to seed it with a random number like the output from time() in C. I hacked this functionality into my own copy of the source, but it would be better available as standard, and probably needs a bunch of precompiler work to make time.h/time()/time_t portable.

Discussion

  • Kevin Cozens
    Kevin Cozens
    2013-03-25

    If you want to use a time function as a seed for the random number generator I suggest you look at Manuel Heras-Gilsanz's extensions. It includes time related functions for TinyScheme.

     
  • Kevin Cozens
    Kevin Cozens
    2013-03-25

    • status: open --> wont-fix
    • milestone: -->