rint() replacement - Mailing list pgsql-hackers

From Bruce Momjian
Subject rint() replacement
Date
Msg-id 200305090212.h492CG116569@candle.pha.pa.us
Whole thread Raw
Responses Re: rint() replacement
List pgsql-hackers
In working on an rint() for Win32, I found two --- one in
port/qnx4/rint.c and another in dt_common.c.  The first is very simple,
using fmod, while the second is very complicated.

I would like to pick the best one and move it to /port.  Any idea why
there are two different methods for rint() --- is the second one
complicated because it doesn't use fmod?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 



pgsql-hackers by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: CIDR in pg_hba.conf
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: could not read transaction log directory ...?