From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use fabsf() instead of Abs() or fabs() where appropriate
Date: Sat, 08 Oct 2022 11:50:38 +0000
Message-ID: <E1oh8Ll-001SFj-Lj@gemulon.postgresql.org> (raw)
Use fabsf() instead of Abs() or fabs() where appropriate
This function is new in C99.
Reviewed-by: Zhang Mingli <zmlpostgres@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/4beb42b5-216b-bce8-d452-d924d5794c63%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e4c61bedcb791fe79fdc4e96a3a7ab59b0dbacaf
Modified Files
--------------
contrib/btree_gist/btree_float4.c | 2 +-
contrib/intarray/_int_gist.c | 2 +-
contrib/seg/seg.c | 5 +++--
src/backend/utils/adt/float.c | 2 +-
4 files changed, 6 insertions(+), 5 deletions(-)
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@eisentraut.org
Subject: Re: pgsql: Use fabsf() instead of Abs() or fabs() where appropriate
In-Reply-To: <E1oh8Ll-001SFj-Lj@gemulon.postgresql.org>
References: <E1oh8Ll-001SFj-Lj@gemulon.postgresql.org>
* 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