Re: unsafe floats

Поиск
Список
Период
Сортировка
Искать
От
Dennis Bjorklund
Тема
Re: unsafe floats
Дата
Msg-id
Pine.LNX.4.44.0403111144210.13979-100000@zigo.dhs.org
Ответ на
Re: unsafe floats (Peter Eisentraut)
Список
Дерево обсуждения
unsafe floats Dennis Bjorklund <db@zigo.dhs.org>
Re: unsafe floats Tom Lane <tgl@sss.pgh.pa.us>
Re: unsafe floats Neil Conway <neilc@samurai.com>
Re: unsafe floats Tom Lane <tgl@sss.pgh.pa.us>
Re: unsafe floats Neil Conway <neilc@samurai.com>
Re: unsafe floats Tom Lane <tgl@sss.pgh.pa.us>
Re: unsafe floats Dennis Bjorklund <db@zigo.dhs.org>
Re: unsafe floats Neil Conway <neilc@samurai.com>
Re: unsafe floats Dennis Bjorklund <db@zigo.dhs.org>
Re: unsafe floats Tom Lane <tgl@sss.pgh.pa.us>
Re: unsafe floats Dennis Bjorklund <db@zigo.dhs.org>
Re: unsafe floats Peter Eisentraut <peter_e@gmx.net>
Re: unsafe floats Dennis Bjorklund <db@zigo.dhs.org>
Re: unsafe floats Neil Conway <neilc@samurai.com>
Re: unsafe floats Tom Lane <tgl@sss.pgh.pa.us>
Re: unsafe floats Neil Conway <neilc@samurai.com>
On Thu, 11 Mar 2004, Peter Eisentraut wrote:

> 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.

In C one can set a signal handler to catch floating point exceptions 
(SIGFPE). Without a handler you can get NaN and Infinity as the result of 
mathematical operations.

-- 
/Dennis Björklund


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
Сообщение: Re: unsafe floats
От: Fabien COELHO
Дата:
FAQ