Commit 33c4360b authored by Ilkka Ollakka's avatar Ilkka Ollakka

correct documentation on rand-functions return values

parent d91338c6
...@@ -210,7 +210,7 @@ double vlc_drand48 (void) ...@@ -210,7 +210,7 @@ double vlc_drand48 (void)
* @warning Series generated by this function are not reproducible. * @warning Series generated by this function are not reproducible.
* Use nrand48() if you need reproducible series. * Use nrand48() if you need reproducible series.
* *
* @return a double value within [0.0, 1.0] inclusive * @return a double value within [0.0, 2^32-1] inclusive
*/ */
long vlc_lrand48 (void) long vlc_lrand48 (void)
{ {
...@@ -230,7 +230,7 @@ long vlc_lrand48 (void) ...@@ -230,7 +230,7 @@ long vlc_lrand48 (void)
* @warning Series generated by this function are not reproducible. * @warning Series generated by this function are not reproducible.
* Use jrand48() if you need reproducible series. * Use jrand48() if you need reproducible series.
* *
* @return a double value within [0.0, 1.0] inclusive * @return a double value within [-2^32, 2^32-1] inclusive
*/ */
long vlc_mrand48 (void) long vlc_mrand48 (void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment