| От | Jasen Betts |
|---|---|
| Тема | Re: Round integer division |
| Дата | |
| Msg-id | i04u5h$jc8$1@reversiblemaps.ath.cx обсуждение исходный текст |
| Ответ на | Round integer division (Lee Hachadoorian <lee.hachadoorian@gmail.com>) |
| Ответы |
Re: round(Numeric)
|
| Список | pgsql-sql |
On 2010-06-25, Lee Hachadoorian <lee.hachadoorian@gmail.com> wrote: > Is it documented anywhere that floating-point numbers round > "scientifically", that is 0.5 rounds to the nearest even number? That's swiss rounding. And no, as I understand it documented that most arithmetic) is platform specific. Postgres is written in C and the relevant portions of the C standards douments (and discussions thereof) give a good picture of the functioning of postgres arithmetic.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера