Re: [HACKERS] Re: Trouble with float4 after upgrading from 6.5.3 to 7.0.2

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] Re: Trouble with float4 after upgrading from 6.5.3 to 7.0.2
Дата
Msg-id 398EDE26.D1547C98@alumni.caltech.edu
обсуждение исходный текст
Ответ на Trouble with float4 after upgrading from 6.5.3 to 7.0.2  ("Romanenko Mikhail" <mikhail@angg.ru>)
Список pgsql-general
> Perhaps the old way of considering equality only to float accuracy
> is more useful, even though it opens us up to problems like overflow
> errors in "float4var = 1e100".  Comments anyone?

I would not have anticipated this either. I agree that downconverting to
float4 is the right solution.

Possible overflow errors can be checked in advance using the macros or
routines already there. This may be an example of why those could be A
Good Thing in some instances.

                    - Thomas

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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: [HACKERS] Re: Trouble with float4 after upgrading from 6.5.3 to 7.0.2
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Re: Trouble with float4 afterupgrading from 6.5.3 to 7.0.2