pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David F. Skoll <dfs@roaringpenguin.com>
To: aspire420@hotpop.com
Cc: pgsql-admin@postgresql.org
Subject: Re: [SQL] Anti log in PostgreSQL
Date: Fri, 26 Dec 2003 21:34:52 -0500 (EST)
Message-ID: <Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com> (raw)
In-Reply-To: <3FECBA50.2000500@sancharnet.in>
References: <3FECB238.1050801@sancharnet.in>
	<200312261934.35070.martin@bugs.unl.edu.ar>
	<3FECBA50.2000500@sancharnet.in>

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.



view thread (12+ messages)  latest in thread

Message-ID: <Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com>
Permalink:  ../Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com

 · 

reply

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: dfs@roaringpenguin.com, aspire420@hotpop.com, pgsql-admin@postgresql.org
  Subject: Re: [SQL] Anti log in PostgreSQL
  In-Reply-To: <Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com>
  References: <3FECB238.1050801@sancharnet.in> <200312261934.35070.martin@bugs.unl.edu.ar> <3FECBA50.2000500@sancharnet.in> <Pine.LNX.4.58.0312262132090.1655@shishi.roaringpenguin.com>

* 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