Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1av548-0000Ib-VC for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Apr 2016 15:38:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1av548-0001f5-Hy for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Apr 2016 15:38:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1av52n-0008Vz-Kq for pgsql-hackers@postgresql.org; Tue, 26 Apr 2016 15:36:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1av52k-0001T5-I6 for pgsql-hackers@postgresql.org; Tue, 26 Apr 2016 15:36:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3QFakgu008397; Tue, 26 Apr 2016 11:36:46 -0400 From: Tom Lane To: Robert Haas cc: Dean Rasheed , Peter Eisentraut , Noah Misch , Michael Paquier , "pgsql-hackers@postgresql.org" Subject: Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees. In-reply-to: References: <570311F1.6020902@gmx.net> <31479.1460152130@sss.pgh.pa.us> <5714552B.5030001@gmx.net> <12238.1460985466@sss.pgh.pa.us> <20160419021144.GA1984253@tornado.leadboat.com> <20830.1461032579@sss.pgh.pa.us> <20160419024950.GB1983345@tornado.leadboat.com> <32425.1461038215@sss.pgh.pa.us> <20160419041631.GC1983345@tornado.leadboat.com> <18241.1461073100@sss.pgh.pa.us> <12182.1461098908@sss.pgh.pa.us> <57192E3C.9040109@gmx.net> <9748.1461284311@sss.pgh.pa.us> <571D8415.3050109@gmx.net> <7284.1461552992@sss.pgh.pa.us> <12552.1461611379@sss.pgh.pa.us> <571E8379.7070802@gmx.net> <21507.1461625996@sss.pgh.pa.us> <7978.1461641154@sss.pgh.pa.us> <8006.1461684400@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 26 Apr 2016 11:30:02 -0400" Date: Tue, 26 Apr 2016 11:36:46 -0400 Message-ID: <8396.1461685006@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Tue, Apr 26, 2016 at 11:26 AM, Tom Lane wrote: >> The next time somebody proposes that we can get exact results out of >> floating-point arithmetic, I'm going to run away screaming. > And you wonder why I avoid floating point variables like the plague...! Float variables are fine for their intended use-case. The problem is with trying to guarantee identical results across all platforms. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers