Re: [SQL] Anti log in PostgreSQL

From: "David F(dot) Skoll" <dfs(at)roaringpenguin(dot)com>
To: aspire420(at)hotpop(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [SQL] Anti log in PostgreSQL
Date: 2003-12-27 02:34:52
Message-ID: Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruno Wolff III 2003-12-27 04:14:13 Re: Opinion wanted: Default select rights for users via public
Previous Message Chris Travers 2003-12-27 02:14:40 Re: Anti log in PostgreSQL

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2003-12-27 02:42:44 Re: Radius of a zip code
Previous Message Chris Travers 2003-12-27 02:14:40 Re: Anti log in PostgreSQL