Re: Anti log in PostgreSQL

From: Wei Weng <wweng(at)kencast(dot)com>
To: aspire420(at)hotpop(dot)com
Cc: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>, pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: Anti log in PostgreSQL
Date: 2003-12-26 22:53:30
Message-ID: 3FECBBEA.5080100@kencast.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

Sai Hertz And Control Systems wrote:

> 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.
>

What is the mathematical operation that "antilog" is supposed to perform?

Wei

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Yasir Malik 2003-12-26 23:18:56 Re: Anti log in PostgreSQL
Previous Message Sai Hertz And Control Systems 2003-12-26 22:46:40 Re: [SQL] Anti log in PostgreSQL

Browse pgsql-sql by date

  From Date Subject
Next Message Yasir Malik 2003-12-26 23:18:56 Re: Anti log in PostgreSQL
Previous Message Sai Hertz And Control Systems 2003-12-26 22:46:40 Re: [SQL] Anti log in PostgreSQL