...
lib_math.h/lib_math.c
Prototype
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
RAND_NBR Math_Rand (void);
|
Arguments
None.
Returned Value
...
Math_Rand()
is re-entrant since it calculates the next random number in critical sections.
Example Usage
Code Block | Language | C++|||
---|---|---|---|---|
| ||||
RAND_NBR rand_nbr; rand_nbr = Math_Rand(); |