Namespaces
Variants
Views
Actions

Pseudo-random number generation

From cppreference.com
< c‎ | numeric
Revision as of 04:33, 14 March 2015 by Newatthis (Talk | contribs)

Defined in header <stdlib.h>
generates a pseudo-random number
(function) [edit]
seeds pseudo-random number generator
(function) [edit]
maximum possible value generated by rand()
(macro constant) [edit]

References

  • C11 standard (ISO/IEC 9899:2011):
  • 7.22 General utilities <stdlib.h> (p: 340-360)
  • C99 standard (ISO/IEC 9899:1999):
  • 7.20 General utilities <stdlib.h> (p: 306-324)
  • C89/C90 standard (ISO/IEC 9899:1990):

See also

C++ documentation for Pseudo-random number generation