Re: BUG #4603: float4 error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4603: float4 error
Дата
Msg-id 26423.1231341879@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4603: float4 error  ("Stefan Hoffmann" <hoffst@maxinf.de>)
Список pgsql-bugs
"Stefan Hoffmann" <hoffst@maxinf.de> writes:
> some specific values such as 20048223 or -25771373 can't be stored in float4
> . they are replaced by 20048224 and
> -25771372 when inserted or updated in float4 .
> is this a problem of 7.4 or caused by "inexact" float4 ?

The latter.  On most machines float4 is only good for about six
significant digits, and you're expecting eight ...

            regards, tom lane

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

Предыдущее
От: "Stefan Hoffmann"
Дата:
Сообщение: BUG #4603: float4 error
Следующее
От: "Brans van der Heijden"
Дата:
Сообщение: BUG #4604: Instalation error: Failed to run initdb: 255!