Broken acos in PL/PGSQL?

From: Milo Hyson <milo(at)cyberlifelabs(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Broken acos in PL/PGSQL?
Date: 2002-08-05 21:23:56
Message-ID: 200208051423.56263@cyberlifelabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I just ran into a show stopper exception on one of my systems. It seems the
acos() function in PL/PGSQL throws an exception if it's called with a 1. All
other acos() implementations I've ever used return a zero. I did some poking
around and every acos() reference I could find for other software returns a
zero. Is Postgres' implementation intentional or an oversight? In the context
of my application, zero is the correct value to return in this case.

--
Milo Hyson
CyberLife Labs, LLC

Browse pgsql-general by date

  From Date Subject
Next Message pgsql-gen Newsgroup (@Basebeans.com) 2002-08-05 21:25:02 Broken acos in PL/PGSQL?
Previous Message jules 2002-08-05 18:38:12 starting with postgresql