| Common mathematical functions | ||||
| Floating-point environment(C99) | ||||
| Pseudo-random number generation | ||||
| Complex number arithmetic(C99) | ||||
| Type-generic math(C99) | ||||
| Bit manipulation(C23) | ||||
| Checked integer arithmetic(C23) |
Defined in header <stdlib.h> | |
| generates a pseudo-random number (function)[edit] | |
| seeds pseudo-random number generator (function)[edit] | |
| maximum possible value generated byrand() (macro constant)[edit] | |
C++ documentation forPseudo-random number generation |