Re: rint() replacement

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: rint() replacement
Date: 2003-05-10 02:10:51
Message-ID: 200305100210.h4A2Ape14245@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.

OK, removed.

> > 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...

Sorry, my paragraph was bad. Should I remove cbrt or move it to /port?

--
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-05-10 02:32:48 Re: rint() replacement
Previous Message Bruce Momjian 2003-05-10 02:07:56 Re: rint() replacement