Re: rounding_up

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: rounding_up
Дата
Msg-id E4600155-847A-4E05-9BAF-21A0011682AB@yandex-team.ru
обсуждение исходный текст
Ответ на rounding_up  (Daria Shanina <vilensipkdm@gmail.com>)
Список pgsql-hackers
Hi Daria!

> On 14 Apr 2025, at 13:24, Daria Shanina <vilensipkdm@gmail.com> wrote:
>
> when we parse and validate values (in particular, the int type), we use the rint method, but unfortunately it does
notwork according to the round rules. 

Are this concerns explainable in SQL query?

As far as I can see from your data, rint() is consistent across OSes. Can user observe any inconsistency caused by
rint()behavior in PostgreSQL? 

Thanks!


Best regards, Andrey Borodin.


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