| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] [BUGS] BUG #2846: inconsistent and |
| Дата | |
| Msg-id | 13444.1167411125@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [PATCHES] [BUGS] BUG #2846: inconsistent and (Brian Hurt <bhurt@janestcapital.com>) |
| Список | pgsql-hackers |
Brian Hurt <bhurt@janestcapital.com> writes:
> Note that taking a signal on an FP exception is a horribly expensive
> proposition- we're talking about hundreds or thousands of clock cycles
> here. But it's probably worthwhile vr.s the cost of testing every
> floating point result, as generally FP exceptions will be rare (probably
> even more rare in database work than in general). So it's probably
> worthwhile.
I think we should probably stay away from relying on signals for this
on portability grounds. The cost of checking the results is small, and
will get smaller if we eliminate or simplify CheckFloat[48]Val as is
being discussed here.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера