Namespaces
Variants
Actions

Pseudo-random number generation

From cppreference.com
< c‎ | numeric
 
C
 
Numerics
 
Pseudo-random number generation
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]

[edit] References

  • C23 standard (ISO/IEC 9899:2024):
  • 7.22.2 Pseudo-random sequence generation functions (p: TBD)
  • C17 standard (ISO/IEC 9899:2018):
  • 7.22.2 Pseudo-random sequence generation functions (p: 252-253)
  • C11 standard (ISO/IEC 9899:2011):
  • 7.22.2 Pseudo-random sequence generation functions (p: 346-347)
  • C99 standard (ISO/IEC 9899:1999):
  • 7.20.2 Pseudo-random sequence generation functions (p: 312-313)
  • C89/C90 standard (ISO/IEC 9899:1990):
  • 4.10.2 Pseudo-random sequence generation functions

[edit] See also

C++ documentation for Pseudo-random number generation

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant