Re: numeric regression test passes, but why?
От | Alvaro Herrera |
---|---|
Тема | Re: numeric regression test passes, but why? |
Дата | |
Msg-id | 20180111162355.yt76yvde236bab6a@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: numeric regression test passes, but why? (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)) |
Ответы |
Re: numeric regression test passes, but why?
|
Список | pgsql-hackers |
Dagfinn Ilmari Mannsåker wrote: > ilmari@ilmari.org (Dagfinn Ilmari Mannsåker) writes: > > > The behaviour seems to have changed in 9.6: > > Indeed, https://www.postgresql.org/docs/current/static/release-9-6.html > has the following entry: > > * Improve the accuracy of the ln(), log(), exp(), and pow() functions > for type numeric (Dean Rasheed) Well, the test line was added with that commit (7d9a4737c268), and indeed its comment says this used to fail: +-- cases that used to error out +select 0.12 ^ (-25); + ?column? +------------------------------------------- + 104825960103961013959336.4983657883169110 +(1 row) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: