Re: unsafe floats

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: unsafe floats
Дата
Msg-id 200403111042.55294.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: unsafe floats  (Dennis Bjorklund <db@zigo.dhs.org>)
Ответы Re: unsafe floats  (Dennis Bjorklund <db@zigo.dhs.org>)
Список pgsql-hackers
Dennis Bjorklund wrote:
> A more important question is if we should give errors or produce
> Infinity and NaN on mathematical operations. That is, should
> operations like sqrt(-1.0) produce NaN or give an error.

This needs to be definable by the user.  IEEE 754 compliant systems 
should provide a way to set the behavior in case of exception 
conditions such as these.  Maybe the C library provides one, or we need 
to catch this ourselves.



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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: [pgsql-hackers-win32] fsync with sync, and Win32 unlink
Следующее
От: Dennis Bjorklund
Дата:
Сообщение: Re: unsafe floats