Home | History | Annotate | Download | only in stdlib
History log of /src/lib/libc/stdlib/erand48_ieee754.c
RevisionDateAuthorComments
 1.2  31-Mar-2006  drochner switch byteorder of seed to match previous (and documented) behaviour
 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.

RSS XML Feed