rint() replacement

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: rint() replacement
Date: 2003-05-09 02:12:16
Message-ID: 200305090212.h492CG116569@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-05-09 02:16:15 Re: could not read transaction log directory ...?
Previous Message Bruno Wolff III 2003-05-09 01:06:31 Re: CIDR in pg_hba.conf