Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-admin by date

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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group