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

From Sai Hertz And Control Systems
Subject Re: [SQL] Anti log in PostgreSQL
Date
Msg-id 3FECBA50.2000500@sancharnet.in
Whole thread Raw
In response to Anti log in PostgreSQL  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Responses Re: [SQL] Anti log in PostgreSQL
List pgsql-admin
Dear Martin Marques ,

>>In mathematics I would have written it something like
>>
>>A = antilog (3·3234) = 2144
>>
>>
>
>As I can understand, this is a 10 base log, so that what you want is
>10^(3.3234)?
>
>For that you have the exponential operator ^.
>
>
Nope
select exp(3.3234) as a2144
Gives me
27.754555808589792
But the answer expected is
some what near to 2144
The log tables show this

Regards,
Vishal Kashyap.


pgsql-admin by date:

Previous
From: "Anjan Dave"
Date:
Subject: Database taking up space rapidly
Next
From: Tom Lane
Date:
Subject: Re: Database taking up space rapidly