Re: Precision problems with float8

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Precision problems with float8
Дата
Msg-id 20011109082048.J57927-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Precision problems with float8  (Gabriel Fernandez <gabi@unica.edu>)
Список pgsql-general
On Fri, 9 Nov 2001, Gabriel Fernandez wrote:

> Hi,
>
> I send a week ago a mail and I have not get any answer.
>
> The main thing I want to know is: If I use the numeric type instead of
> float8 will it result in a slower overall performance or it won't be
> significantly different ?

Yes, it's almost certainly slower than float8, but I don't know how
significant it is (especially since you're already doing numeric<->
double precision conversions I think)

> (Of course, the initial 9.38 is the result of a previous calculation,
> rounded with two decimals places, but the only thing you can see in the
> value of the field is "9.38" ).
>
> Does anyone know the reason ?

Can you send a test script that generates a broken row?  I'm not sure
how to diagnose it from the information given.



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

Предыдущее
От: qradius@qnet.com.pe
Дата:
Сообщение: How to view the functions that exists
Следующее
От: Antoine Reid
Дата:
Сообщение: Re: How to view the functions that exists