Work around lgamma(NaN) bug on AIX. lgamma(NaN) should produce NaN, but on older versions of AIX it reports an ERANGE error. While that's been fixed in the latest version of libm, it'll take awhile for the fix to propagate. This workaround is harmless even when the underlying bug does get fixed.
Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d743545d8471dbb0016313885392211f58ef2b1c Modified Files -------------- src/backend/utils/adt/float.c | 6 ++++++ 1 file changed, 6 insertions(+)
