Re: Allow round() function to accept float and double precision

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allow round() function to accept float and double precision
Дата
Msg-id 1699383.1669924929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Allow round() function to accept float and double precision  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Allow round() function to accept float and double precision  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I don't really agree that it will work fine in all cases though. If
> the numeric has more than 1000 digits left of the decimal point then
> the method won't work at all.

But what we're talking about is starting from a float4 or float8
input, so it can't be more than ~308 digits.

            regards, tom lane



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Allow round() function to accept float and double precision
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Error-safe user functions