Re: Anti log in PostgreSQL

From: "Chris Travers" <chris(at)travelamericas(dot)com>
To: "Yasir Malik" <ymalik(at)heineken(dot)cs(dot)stevens-tech(dot)edu>, "PostgreSQL" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Anti log in PostgreSQL
Date: 2003-12-27 02:14:40
Message-ID: 000801c3cc61$1cdc75d0$93285e3d@winxp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

Definition of log (base n) is that log n(x) = y where n^y = x for all values
of x and y. n is the base.

So a base 10 log would be reversed by doing 10^x=y. If we know x, we use
the exponential operation; if we know y we use log(y) = x. For ln (natural
logs, base e, e is approx. 2.818), use e^x=y.

Hope this explains things.

Best Wishes,
Chris Travers

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David F. Skoll 2003-12-27 02:34:52 Re: [SQL] Anti log in PostgreSQL
Previous Message Tom Lane 2003-12-26 23:37:40 Re: Anti log in PostgreSQL

Browse pgsql-sql by date

  From Date Subject
Next Message David F. Skoll 2003-12-27 02:34:52 Re: [SQL] Anti log in PostgreSQL
Previous Message Tom Lane 2003-12-27 00:09:49 Re: Radius of a zip code