Re: Inaccurate results from numeric ln(), log(), exp() and pow()
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Inaccurate results from numeric ln(), log(), exp() and pow() |
| Дата | |
| Msg-id | 3960.1449776845@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Inaccurate results from numeric ln(), log(), exp() and pow() (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Inaccurate results from numeric ln(), log(), exp() and pow()
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> This patch, or something nearby, seems to have changed the number of
> significant figures produced by log() and maybe some of the other
> functions this patch touched.
Yeah, not surprising.
> It's certainly not obvious from the commit message that this change
> was expected.
That's on me as author of the commit message, I guess. The rscale
in most of these functions is exactly the number of fraction digits
that will be emitted, and we changed the rules for computing it.
Not by much, in most cases. I don't think we should be too worried
about being bug-compatible with the old behavior.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера