Re: Some improvements to numeric sqrt() and ln()

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: David Steele <david(at)pgmasters(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Some improvements to numeric sqrt() and ln()
Date: 2020-03-04 16:37:05
Message-ID: CAEZATCWS1rmJEtrwfn3LCR8cpPot2H1jJCmCEmuwFLTG7KG_5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 4 Mar 2020 at 14:41, David Steele <david(at)pgmasters(dot)net> wrote:
>
> Are these improvements targeted at PG13 or PG14? This seems a pretty
> big change for the last CF of PG13.
>

Well of course that's not entirely up to me, but I was hoping to
commit it for PG13.

It's very well covered by a large number of regression tests in both
numeric.sql and numeric_big.sql, since nearly anything that calls
ln(), log() or pow() ends up going through sqrt_var(). Also, the
changes are local to functions in numeric.c, which makes them easy to
revert if something proves to be wrong.

Regards,
Dean

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-03-04 16:37:23 Re: HAVE_WORKING_LINK still needed?
Previous Message vignesh C 2020-03-04 16:25:54 Re: Bug in pg_restore with EventTrigger in parallel mode