Re: rint() replacement - Mailing list pgsql-hackers

From Tom Lane
Subject Re: rint() replacement
Date
Msg-id 19875.1052514213@sss.pgh.pa.us
Whole thread Raw
In response to Re: rint() replacement  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: rint() replacement
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Also, there is a special HPUX 9 configure test to look for rint() a
> different location.  I am not sure if the new replacement rint() test
> has invalidated that code.  Do we still support HPUX 9?  (I added a
> comment to the configure script to mention it might now be broken.)

HPUX 9 is obsolete (heck, HP is about to obsolete HPUX 10...).  If
there's any beta testers out there still running it, they can find out
for us.  But I'd say that if you are providing a portable rint() in
/port, we could get rid of the HPUXMATHLIB crock and let configure
fall back to using the /port version.

> I see a cbrt() in float.c.  Do we actually have platforms that don't
> have cbrt()/cube root?  I am inclined to remove it more move it to
> /port.

Hardly worth the trouble.  The substitute implementation is small
and portable...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: PostgreSQL Cookbook Site Down
Next
From: "Andrew Dunstan"
Date:
Subject: Dev FAQ emacs settings