]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert back-branch changes in power()'s behavior for NaN inputs.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 May 2018 21:32:40 +0000 (17:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 May 2018 21:32:40 +0000 (17:32 -0400)
commit8fbdd63a52df670273990e126f1ab7895c14978a
treee19aced425265967a50f6b6c093ffff3c22b5f44
parent3c0e07a466c97244825abf83f2f14ab94ac57624
Revert back-branch changes in power()'s behavior for NaN inputs.

Per discussion, the value of fixing these bugs in the back branches
doesn't outweigh the downsides of changing corner-case behavior in
a minor release.  Hence, revert commits 217d8f3a1 and 4d864de48 in
the v10 branch and the corresponding commits in 9.3-9.6.

Discussion: https://postgr.es/m/75DB81BEEA95B445AE6D576A0A5C9E936A73E741@BPXM05GP.gisp.nec.co.jp
src/backend/utils/adt/float.c
src/test/regress/expected/float8-exp-three-digits-win32.out
src/test/regress/expected/float8-small-is-zero.out
src/test/regress/expected/float8-small-is-zero_1.out
src/test/regress/expected/float8.out
src/test/regress/sql/float8.sql