pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: laetitia.avrot@gmail.com
Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10().
Date: Wed, 13 Mar 2019 23:18:27 -0400
Message-ID: <2503.1552533507@sss.pgh.pa.us> (raw)
In-Reply-To: <fedafa28-e63b-33f3-5d70-12ff94762a9e@2ndQuadrant.com>
References: <E1h3nUY-0000sM-Vf@gemulon.postgresql.org>
	<20190313022159.GR13812@paquier.xyz>
	<24813.1552447002@sss.pgh.pa.us>
	<20190313050331.GT13812@paquier.xyz>
	<17820.1552514192@sss.pgh.pa.us>
	<fedafa28-e63b-33f3-5d70-12ff94762a9e@2ndQuadrant.com>

Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> Or we could possibly call the function and then turn a result of -0 into 0?

But -0 is the correct output if the input is -0.  So that approach
requires distinguishing -0 from 0, which is annoyingly difficult.

			regards, tom lane




view thread (20+ messages)  latest in thread

Message-ID: <2503.1552533507@sss.pgh.pa.us>
Permalink:  ../2503.1552533507@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2503.1552533507@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew.dunstan@2ndquadrant.com, michael@paquier.xyz, pgsql-hackers@lists.postgresql.org, laetitia.avrot@gmail.com
  Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10().
  In-Reply-To: <2503.1552533507@sss.pgh.pa.us>

* 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