gjrand 3.2.0 发布,随机数生成器

来源: OSCHINA
编辑: 红薯
2010-01-10

gjrand 是一个C语言的伪随机数生成器。伪随机数的意思是在这个随机数并不保证是真正的随机,只适合一些对随机要求不是很高的场合,例如游戏和类似用途,而不适合 一些对随机性要求非常高的应用,例如彩票和高安全性的随机码生成?

新版本改进内容:

1. The gjrand_rand32modv() function was added.
2. The functions gjrand_shuffle(), gjrand_shuffleprep(), gjrand_dice(), and gjrand_rand32mod() now go faster and produce different sequences with the same seed as before.
3. A few other functions may also be faster sometimes.
4. Two new test programs were added, and several others have been tweaked.
5. Version 2.2.0 is also available, which might be useful for people who want two very different random number generators with the same API.

下载地址: http://sourceforge.net/projects/gjrand/files/

展开阅读全文
0 收藏
分享
加载中
更多评论
0 评论
0 收藏
分享
返回顶部
顶部