Re: rint() replacement

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: rint() replacement
Дата
Msg-id 200305100210.h4A2Ape14245@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: rint() replacement  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: rint() replacement  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: rint() replacement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: rint() replacement