|
Jonathan Knudsen <jonathan@oreilly.com> wrote:
> What is the range of values returned from random()?
extern long int random (void);
Looks like -2^31 to 2^31-1 to me, unless you cast to unsigned int.
Or does liberty use 16-bit ints internally?
Why not write a short test program to check this out?
And why doesn't LegOS use a wrapper around the random() function in ROM???
-Kekoa
|
|
Message is in Reply To:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|