Skip to content
Snippets Groups Projects
  1. Nov 05, 2018
  2. Nov 04, 2018
  3. Oct 17, 2018
    • Birte Kristina Friesel's avatar
      Use random() instead of rand() to increase portability · 9803fc41
      Birte Kristina Friesel authored
      Quoting glibc rand(3):
      
      The  versions  of rand() and srand() in the Linux C Library use the same random
      number generator as random(3) and srandom(3), so the lower-order bits should be
      as  random  as  the  higher-order bits.   However,  on  older  rand()
      implementations, and on current implementations on different systems, the
      lower-order bits are much less random than the higher-order bits.  Do not use
      this function in applications intended to be portable when good randomness is
      needed.  (Use random(3) instead.)
      9803fc41
  4. Oct 04, 2018
  5. Oct 02, 2018
  6. Sep 20, 2018
  7. Sep 17, 2018
  8. Aug 29, 2018
  9. Aug 24, 2018
  10. Aug 22, 2018
  11. Aug 19, 2018
  12. Aug 18, 2018
  13. Aug 05, 2018
  14. Jul 20, 2018
  15. Jul 17, 2018
  16. Jul 07, 2018
  17. Jun 10, 2018
  18. May 16, 2018
  19. May 11, 2018
  20. May 10, 2018
  21. Apr 18, 2018
  22. Apr 04, 2018
  23. Mar 10, 2018
Loading