[vlc-commits] commit: correct documentation on rand-functions return values ( Ilkka Ollakka )
git at videolan.org
git at videolan.org
Wed Jul 28 12:53:07 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Jul 28 13:27:21 2010 +0300| [33c4360bf63068757989676795d98fe84ea56e04] | committer: Ilkka Ollakka
correct documentation on rand-functions return values
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33c4360bf63068757989676795d98fe84ea56e04
---
src/misc/rand.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/rand.c b/src/misc/rand.c
index 2854627..14e2b9e 100644
--- a/src/misc/rand.c
+++ b/src/misc/rand.c
@@ -210,7 +210,7 @@ double vlc_drand48 (void)
* @warning Series generated by this function are not reproducible.
* 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)
{
@@ -230,7 +230,7 @@ long vlc_lrand48 (void)
* @warning Series generated by this function are not reproducible.
* 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)
{
More information about the vlc-commits
mailing list