pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Travers <chris@travelamericas.com>
To: Yasir Malik <ymalik@heineken.cs.stevens-tech.edu>
To: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: Anti log in PostgreSQL
Date: Sat, 27 Dec 2003 09:14:40 +0700
Message-ID: <000801c3cc61$1cdc75d0$93285e3d@winxp> (raw)
References: <3FECB238.1050801@sancharnet.in>
	<200312261934.35070.martin@bugs.unl.edu.ar>
	<Pine.LNX.4.58.0312261813480.26722@heineken.cs.stevens-tech.edu>

Definition of log (base n) is that log n(x) = y where n^y = x for all values
of x and y.  n is the base.

So a base 10 log would be reversed by doing 10^x=y.  If we know x, we use
the exponential operation; if we know y we use log(y) = x.  For ln (natural
logs, base e, e is approx. 2.818), use e^x=y.

Hope this explains things.

Best Wishes,
Chris Travers




view thread (12+ messages)  latest in thread

Message-ID: <000801c3cc61$1cdc75d0$93285e3d@winxp>
Permalink:  ../000801c3cc61$1cdc75d0$93285e3d@winxp/
Also on:    postgresql.org/message-id/000801c3cc61$1cdc75d0$93285e3d@winxp

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: chris@travelamericas.com, ymalik@heineken.cs.stevens-tech.edu
  Subject: Re: Anti log in PostgreSQL
  In-Reply-To: <000801c3cc61$1cdc75d0$93285e3d@winxp>

* 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