From: Yasir Malik <ymalik@heineken.cs.stevens-tech.edu>
To: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: Anti log in PostgreSQL
Date: Fri, 26 Dec 2003 18:18:56 -0500 (EST)
Message-ID: <Pine.LNX.4.58.0312261813480.26722@heineken.cs.stevens-tech.edu> (raw)
In-Reply-To: <200312261934.35070.martin@bugs.unl.edu.ar>
References: <3FECB238.1050801@sancharnet.in>
<200312261934.35070.martin@bugs.unl.edu.ar>
The antilog of x is 10^x, so all you need to do is used the ^ operator.
If you are doing the antilog for some other base, there is formula to do
that as well, but I'm forgetting it.
Regards,
Yasir
On Fri, 26 Dec 2003, Martin Marques wrote:
> Date: Fri, 26 Dec 2003 19:34:35 -0300
> From: Martin Marques <martin@bugs.unl.edu.ar>
> To: aspire420@hotpop.com,
> Sai Hertz And Control Systems <sank89@sancharnet.in>,
> pgsql-admin@postgresql.org
> Cc: pgsql-sql@postgresql.org
> Subject: Re: [SQL] Anti log in PostgreSQL
>
i> 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@unl.edu.ar
> Programador, Administrador, DBA | Centro de Telemática
> Universidad Nacional
> del Litoral
> -----------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: ymalik@heineken.cs.stevens-tech.edu
Subject: Re: Anti log in PostgreSQL
In-Reply-To: <Pine.LNX.4.58.0312261813480.26722@heineken.cs.stevens-tech.edu>
References: <3FECB238.1050801@sancharnet.in> <200312261934.35070.martin@bugs.unl.edu.ar> <Pine.LNX.4.58.0312261813480.26722@heineken.cs.stevens-tech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox