drand48.c
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:0k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- #include "config_unix.h"
- #include "config_win32.h"
- #include "drand48.h"
- #ifdef NEED_DRAND48
- double drand48(void)
- {
- unsigned int x = (rand() << 16) | rand();
- return ((double)x / (double)0xffffffff);
- }
- #endif