Re: [pgsql-hackers-win32] win32 random number generator

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [pgsql-hackers-win32] win32 random number generator
Дата
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3417DD177@Herge.rcsinc.local
обсуждение исходный текст
Ответы Re: [pgsql-hackers-win32] win32 random number generator  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> "Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> > Looks like this in lrand48(void):
    _rand48_seed[1] > 1);

> > _rand48_seed[1] >> 1);
                    ^^

The problem is the shift operator :).  Anyways I double checked the
results and it works as expected now so here's a patch.  I also removed
the spurious casts.

Merlin

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Guillaume LELARGE
Дата:
Сообщение: Updated french po files
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: PL/Perl embedding string common elements