Broken acos in PL/PGSQL? - Mailing list pgsql-general

From pgsql-gen Newsgroup (@Basebeans.com)
Subject Broken acos in PL/PGSQL?
Date
Msg-id 200208052125.g75LP2l14188@basebeans.com
Whole thread Raw
Responses Re: Broken acos in PL/PGSQL?  (Darren Ferguson <darren@crystalballinc.com>)
List pgsql-general
Subject: [GENERAL] Broken acos in PL/PGSQL?
From: Milo Hyson <milo@cyberlifelabs.com>
 ===
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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

pgsql-general by date:

Previous
From: Milo Hyson
Date:
Subject: Broken acos in PL/PGSQL?
Next
From: Darren Ferguson
Date:
Subject: Re: Broken acos in PL/PGSQL?