ed
fc072c0499
Properly sign extend the result of jrand48() and mrand48().
...
These functions are supposed to return a value between [_2^31, 2^31).
This doesn't seem to work on 64-bit systems, where we return a value
between [0, 3^32). Patch up the function to use proper casts to int32_t.
While there, fix some other style bugs.
MFC after: 2 weeks
2016-12-06 19:08:29 +00:00
..
2016-08-24 00:02:20 +00:00
2016-05-17 09:56:22 +00:00
2015-09-20 20:23:16 +00:00
2016-10-12 13:56:14 +00:00
2015-09-20 20:23:16 +00:00
2016-11-03 20:21:34 +00:00
2016-11-03 20:21:34 +00:00
2016-11-03 20:21:34 +00:00
2016-08-04 11:38:53 +00:00
2015-09-22 07:31:40 +00:00
2016-10-03 18:20:58 +00:00
2016-04-18 21:05:15 +00:00
2016-08-31 20:38:40 +00:00
2016-08-12 07:03:58 +00:00
2016-09-18 20:47:55 +00:00
2016-09-18 20:47:55 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2016-02-08 19:24:13 +00:00
2016-04-10 19:33:58 +00:00
2016-01-05 16:21:20 +00:00
2016-04-18 21:05:15 +00:00
2015-09-20 03:56:57 +00:00
2015-09-20 20:21:49 +00:00
2016-07-14 09:07:25 +00:00
2015-09-20 20:23:16 +00:00
2016-05-25 06:55:53 +00:00
2016-05-21 01:31:41 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:23:16 +00:00
2016-07-31 08:05:15 +00:00
2016-07-31 08:05:15 +00:00
2015-09-20 20:23:16 +00:00
2015-09-14 18:44:13 +00:00
2016-04-10 19:33:58 +00:00
2016-06-09 01:28:44 +00:00
2016-06-09 01:28:44 +00:00
2016-04-19 22:59:21 +00:00
2015-12-20 23:05:20 +00:00
2016-04-16 17:52:00 +00:00
2015-09-20 20:23:16 +00:00
2016-08-30 21:43:57 +00:00
2015-09-20 20:23:16 +00:00
2016-07-31 01:14:06 +00:00
2016-08-03 09:09:34 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:23:16 +00:00
2016-12-06 19:08:29 +00:00
2015-12-20 11:55:39 +00:00
2016-11-03 20:21:34 +00:00
2016-12-06 19:08:29 +00:00
2016-04-16 17:52:00 +00:00
2016-04-10 19:33:58 +00:00
2015-09-20 03:58:27 +00:00
2015-11-20 22:36:41 +00:00
2016-01-05 16:21:20 +00:00
2016-05-25 07:13:53 +00:00
2016-05-30 13:51:27 +00:00
2016-05-30 13:51:27 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:23:16 +00:00
2016-01-24 22:20:13 +00:00
2016-10-11 11:46:02 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:23:16 +00:00
2016-01-22 14:52:31 +00:00
2016-08-17 07:25:50 +00:00
2016-04-06 16:09:10 +00:00
2016-01-29 14:12:12 +00:00
2015-09-20 20:23:16 +00:00
2016-11-22 16:00:18 +00:00
2016-09-02 00:16:19 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:21:49 +00:00
2015-09-14 18:59:01 +00:00
2016-11-03 20:21:34 +00:00
2015-12-20 23:05:20 +00:00
2016-10-28 18:09:08 +00:00
2015-09-20 20:23:16 +00:00
2016-04-18 16:25:37 +00:00
2015-09-20 03:58:27 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:21:49 +00:00
2016-06-09 22:14:58 +00:00
2015-09-20 20:23:16 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-20 20:21:49 +00:00
2015-09-30 21:32:29 +00:00
2015-09-30 21:32:29 +00:00