pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees.
Date: Mon, 04 Apr 2016 21:16:33 -0400
Message-ID: <570311F1.6020902@gmx.net> (raw)
In-Reply-To: <E1aMibF-0007DJ-Px@gemulon.postgresql.org>
References: <E1aMibF-0007DJ-Px@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 01/22/2016 03:46 PM, Tom Lane wrote:
> Add trigonometric functions that work in degrees.
>
> The implementations go to some lengths to deliver exact results for values
> where an exact result can be expected, such as sind(30) = 0.5 exactly.

I have a host here that is having regression test failures from this commit:

inline patch 1: src/test/regress/results/float8.out (+2/-2 lines) download inline-1.patch--- src/test/regress/expected/float8.out +++ src/test/regress/results/float8.out @@ -490,9 +490,9 @@ x | asind | acosd | atand ------+-------+-------+------- -1 | -90 | 180 | -45 - -0.5 | -30 | 120 | + -0.5 | | 120 | 0 | 0 | 90 | 0 - 0.5 | 30 | 60 | + 0.5 | | 60 | 1 | 90 | 0 | 45 (5 rows)
Any ideas? -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

view thread (35+ messages)  latest in thread

Message-ID: <570311F1.6020902@gmx.net>
Permalink:  ../570311F1.6020902@gmx.net/
Also on:    postgresql.org/message-id/570311F1.6020902@gmx.net

 ·  · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees.
  In-Reply-To: <570311F1.6020902@gmx.net>
  References: <E1aMibF-0007DJ-Px@gemulon.postgresql.org> <570311F1.6020902@gmx.net>

* 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