Re: Anti log in PostgreSQL - Mailing list pgsql-sql

From Chris Travers
Subject Re: Anti log in PostgreSQL
Date
Msg-id 000801c3cc61$1cdc75d0$93285e3d@winxp
Whole thread Raw
In response to Anti log in PostgreSQL  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
List 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



pgsql-sql by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Radius of a zip code
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Anti log in PostgreSQL