Re: Slaying the HYPOTamus
| От | Tom Lane |
|---|---|
| Тема | Re: Slaying the HYPOTamus |
| Дата | |
| Msg-id | 9413.1251159271@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Slaying the HYPOTamus (Paul Matthews <plm@netspace.net.au>) |
| Ответы |
Re: Slaying the HYPOTamus
|
| Список | pgsql-hackers |
Paul Matthews <plm@netspace.net.au> writes: > Just trying to implement correct C99 behaviour here. Around here we tend to read the Single Unix Spec before C99, and SUS saith something different: http://www.opengroup.org/onlinepubs/007908799/xsh/hypot.html It would be serious folly for us to suppose that every platform's version of hypot() behaves exactly the same for these corner cases, anyway. If you're proposing to write code that would depend on that, we need to call it something else and not pretend that it's just a fill-in for platforms that lack hypot() entirely. regards, tom lane
В списке pgsql-hackers по дате отправления: