Date: Wed, 7 Jun 2017 14:34:48 -0400 From: "Littlefield, Tyler" <tyler@tysdomain.com> To: freebsd-hackers@freebsd.org Subject: RAND_MAX is power of 2 Message-ID: <9efa6e4a-3166-58a8-99a3-02e920366f39@tysdomain.com>
next in thread | raw e-mail | index | archive | help
All: I'm trying to find another solution to this and port this server to FreeBSD. So far the only thing holding me up is that they want RAND_MAX to be a power of 2, and I don't want to just change things without knowing what I'm changing. Is there a reason for this? The code is here: https://pastebin.com/yeha7C8Y Thanks,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9efa6e4a-3166-58a8-99a3-02e920366f39>