Help save net neutrality! Learn more.
Close

#102 Support pseudo-random number generation

closed
None
5
2006-09-28
2005-03-18
No

Please add the rand() and srand()-functions for
pseudo-random number generation to stdlib.h

These would be especially useful for writing games.

Philipp

Discussion

  • Vangelis Rokas

    Vangelis Rokas - 2005-05-06

    Logged In: YES
    user_id=770505

    There is an implementation of rand/srand functions
    in the pic16 library (device/lib/pic16/libc/stdlib/).
    It should be fairly easy to use them from other ports, too.

    Vangelis

     
  • Maarten Brock

    Maarten Brock - 2006-09-28
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2006-09-28

    Logged In: YES
    user_id=888171

    Implemented in SDCC 2.6.1. #4385.

     

Log in to post a comment.