1.1 |
| 22-Mar-2006 |
drochner | Rewrite erand48() to put the random bits into the mantissa by simple bitshifts instead of calling ldexp() three times. (for ieee doubles only -- vax can't use it, so the old version needs to stay around) This removes the dependency on ldexp() which also didn't participate in the usual __RENAME game, thus lead to confusion. In addition, this version is almost 3 times as fast for me.
|