Re: Anti log in PostgreSQL

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: aspire420(at)hotpop(dot)com, Sai Hertz And Control Systems <sank89(at)sancharnet(dot)in>, pgsql-admin(at)postgresql(dot)org
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Anti log in PostgreSQL
Date: 2003-12-26 22:34:35
Message-ID: 200312261934.35070.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

El Vie 26 Dic 2003 19:12, Sai Hertz And Control Systems escribió:
> Dear all ,
>
> In one of our project I require to calculate antilog of (3.3234)
> But I could not find any functions in Documentation for the same.
>
> 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 ^.

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-admin by date

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

Browse pgsql-sql by date

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