sin() in PostgreSQL?

From: treklover(at)bigfoot(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: sin() in PostgreSQL?
Date: 2000-02-01 01:42:48
Message-ID: 200002010150.TAA09778@bunyip.flash.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a sin() function in PostgreSQL? I need to create a view in
PostgreSQL that uses sin(x), and the only real mathematical functions I
see supported are dexp() and dpow(). I tried using dexp(I) to get the
exponential of an imaginary number (which would make writing sin() easy),
but this didn't work, since dexp() expects a floating point argument. Is
there an easy way to get sin()?

Browse pgsql-general by date

  From Date Subject
Next Message mathprof 2000-02-01 02:03:08 sin() in PostgreSQL?
Previous Message Richard Huxton 2000-02-01 00:04:29 Re: [GENERAL] SQL Book