Re: Problem with factorial operator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with factorial operator
Дата
Msg-id 24820.1017947390@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem with factorial operator  (Jean-Luc Lachance <jllachan@nsd.ca>)
Список pgsql-general
Jean-Luc Lachance <jllachan@nsd.ca> writes:
> If you try it, you will get the same result, but it is the wrong answer.
> Factorial work up to 20. After that one gets negative results.

There's a TODO item to replace the existing integer-based factorial ops
with a NUMERIC-based one, which would work for output values up to
whatever the NUMERIC precision limit is (10^1000, I think).  Want to
work on that?

            regards, tom lane

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

Предыдущее
От: tmorrison
Дата:
Сообщение: Update to readline and Postgresql
Следующее
От: "Command Prompt, Inc."
Дата:
Сообщение: Announce: SSL-ODBC Available