Re: [SQL] Anti log in PostgreSQL - Mailing list pgsql-admin

From David F. Skoll
Subject Re: [SQL] Anti log in PostgreSQL
Date
Msg-id Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com
Whole thread Raw
In response to Re: [SQL] Anti log in PostgreSQL  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
List pgsql-admin
On Sat, 27 Dec 2003, Sai Hertz And Control Systems wrote:

> select exp(3.3234) as a2144
> Gives me
> 27.754555808589792

Right.  That's e^3.3234

Try:

    select 10^3.3234;

or:

    select dpow(10, 3.3234);

or even:

    select exp(3.3234 * ln(10.0));

--
David.

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Database taking up space rapidly
Next
From: Bruno Wolff III
Date:
Subject: Re: Opinion wanted: Default select rights for users via public