X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 09F1AD1B466 for ; Sat, 27 Dec 2003 02:37:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 68125-06 for ; Fri, 26 Dec 2003 22:36:54 -0400 (AST) Received: from ottawa-hs-209-217-122-117.s-ip.magma.ca (ottawa-hs-209-217-122-117.s-ip.magma.ca [209.217.122.117]) by svr1.postgresql.org (Postfix) with ESMTP id 3F7EED1B448 for ; Fri, 26 Dec 2003 22:36:50 -0400 (AST) Received: from shishi.roaringpenguin.com (shishi.roaringpenguin.com [192.168.2.3]) by shevy.roaringpenguin.com (8.12.10/8.12.8) with ESMTP id hBR2Yqq8010231; Fri, 26 Dec 2003 21:34:52 -0500 Date: Fri, 26 Dec 2003 21:34:52 -0500 (EST) From: "David F. Skoll" To: aspire420@hotpop.com Cc: pgsql-admin@postgresql.org Subject: Re: [SQL] Anti log in PostgreSQL In-Reply-To: <3FECBA50.2000500@sancharnet.in> Message-ID: References: <3FECB238.1050801@sancharnet.in> <200312261934.35070.martin@bugs.unl.edu.ar> <3FECBA50.2000500@sancharnet.in> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/316 X-Sequence-Number: 11822 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.