Re: more C99 cleanup

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: more C99 cleanup
Дата
Msg-id 0e780010-66b2-48ac-81e4-46e980a60af7@eisentraut.org
обсуждение исходный текст
Ответ на Re: more C99 cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: more C99 cleanup
Список pgsql-hackers
On 21.11.25 17:10, Tom Lane wrote:
> I wrote:
>> I have a distinct recollection that this comment exists because we
>> found that some platforms had a hypot() that got that edge case wrong.
>> I don't object to proceeding on the assumption that they all conform
>> to spec by now, but please make sure there's at least one regression
>> test that will expose the problem if someplace doesn't.  (A quick check
>> would be to hot-wire pg_hypot to do the wrong thing and see if any
>> existing test falls over.  I think there is one, but let's verify.)
> 
> Ah, there are several.  It's not totally obvious perhaps where the
> cause is.  I'll attach the diffs just for the archives' sake.

For clarification, does what you are showing mean that the regression 
tests have enough coverage of the hypot() edge cases?




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