Re: BUG #16281: LN() function inaccurate at 1000th fractional digit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: anyhowstep(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16281: LN() function inaccurate at 1000th fractional digit
Date: 2020-02-28 15:39:01
Message-ID: 962.1582904341@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> writes:
> On Fri, 28 Feb 2020 at 05:43, PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
>> The last digit should be a 2, but pg thinks it's a 3,

> Yeah, that's not at all surprising. All the transcendental numeric
> functions are basically +/-1 in the final digit.

TBH, I'd be ecstatic if I thought that was the maximum possible error ;-).
I don't think anyone's really done any error propagation analysis on
the numeric transcendentals.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomas Vondra 2020-02-28 16:26:20 Re: BUG #16283: crash on create index segmentation fault
Previous Message PG Bug reporting form 2020-02-28 14:23:21 BUG #16283: crash on create index segmentation fault