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-09-19 15:08:03 +00:00
2016-09-08 22:38:20 +00:00
2016-09-08 22:38:20 +00:00
2016-09-26 16:06:50 +00:00
2016-12-06 19:08:29 +00:00
2016-09-08 22:38:20 +00:00
2016-06-02 17:28:39 +00:00
2016-08-29 18:47:51 +00:00
2016-11-20 20:13:22 +00:00
2016-10-31 15:33:58 +00:00
2016-04-30 01:24:24 +00:00
2016-12-06 18:50:33 +00:00
2016-08-24 16:44:27 +00:00
2016-04-30 01:24:24 +00:00
2016-10-25 01:32:35 +00:00
2016-09-08 22:38:20 +00:00
2016-10-29 01:22:55 +00:00
2016-07-14 09:07:25 +00:00
2016-06-08 09:40:06 +00:00
2016-11-16 15:21:32 +00:00
2016-08-09 19:20:53 +00:00
2016-11-16 15:21:32 +00:00
2016-09-08 22:38:20 +00:00
2016-10-31 18:38:58 +00:00
2016-11-09 18:42:30 +00:00
2016-09-21 15:47:40 +00:00
2016-08-14 23:38:50 +00:00
2016-12-03 01:14:21 +00:00
2016-12-01 22:12:58 +00:00
2016-08-17 09:52:09 +00:00
2016-05-06 16:03:40 +00:00
2016-06-28 19:53:16 +00:00
2016-10-12 13:19:21 +00:00
2016-11-16 15:21:32 +00:00
2016-08-06 13:28:58 +00:00