Re: factorial of negative numbers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: factorial of negative numbers
Дата
Msg-id 7095d570-f564-6c42-fe3b-65ca37b4b9a7@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: factorial of negative numbers  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: factorial of negative numbers  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
On 2020-06-16 11:49, Dean Rasheed wrote:
> With [1], we could return 'Infinity', which would be more correct from
> a mathematical point of view, and might be preferable to erroring-out
> in some contexts.

But the limit of the gamma function is either negative or positive 
infinity, depending on from what side you come, so we can't just return 
one of those two.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Parallel Seq Scan vs kernel read ahead
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Operator class parameters and sgml docs