Re: [BUGS] Re: [BUGS] BUG #14695: Documentation is not accurate
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] Re: [BUGS] BUG #14695: Documentation is not accurate |
| Дата | |
| Msg-id | 31432.1497023950@sss.pgh.pa.us обсуждение |
| Ответы |
Re: [BUGS] Re: [BUGS] BUG #14695: Documentation is not accurate
|
| Список | pgsql-bugs |
Jaroslav Sivy <yarex@pobox.sk> writes:
> The problem is in "largest integer not greater than argument" and "smallest integer not less than argument"
> As you can see Largest integer from -42.8 is not -43, but infact its 42, because in negative numbers -42 > -43
Well, it still looks correct to me. FWIW, you're not the first to be
confused by this. In currently-supported releases we've rephrased it as
ceil(dp or numeric) nearest integer greater than or equal to argument
floor(dp or numeric) nearest integer less than or equal to argument
But 8.1 is six years out of support and its docs aren't going to be
updated any more.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера