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

From Bruce Momjian
Subject Re: rint() replacement
Date
Msg-id 200305100210.h4A2Ape14245@candle.pha.pa.us
Whole thread Raw
In response to Re: rint() replacement  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: rint() replacement
List pgsql-hackers
Tom Lane wrote:
> 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.

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@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: Bruce Momjian
Date:
Subject: Re: rint() replacement
Next
From: Tom Lane
Date:
Subject: Re: rint() replacement