Re: Proposal: Trigonometric functions in degrees

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Proposal: Trigonometric functions in degrees
Дата
Msg-id 20160123225506.GB3691823@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Proposal: Trigonometric functions in degrees  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Proposal: Trigonometric functions in degrees  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Jan 23, 2016 at 05:04:56PM -0500, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > To reliably produce exact answers, this code must delay all trigonometric
> > calculations to runtime.  On sungazer, the float8 test happens to pass if I
> > rebuild float.c with -fno-builtin-sin; that leaves calls like acos(0.5) and
> > cos(60.0 * RADIANS_PER_DEGREE) unprotected, though.
> 
> Either I missed something or there's another issue, because tern/sungazer
> are *still* failing.  This is getting annoying :-(

sungazer's "make check" passes if I change init_degree_constants() to be
non-static.  Duping gcc isn't so easy these days.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: Trigonometric functions in degrees
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Patch: ResourceOwner optimization for tables with many partitions