Re: float output precision questions

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: float output precision questions
Дата
Msg-id 20021030021506.GA32582@wolff.to
обсуждение исходный текст
Ответ на Re: float output precision questions  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: float output precision questions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Tue, Oct 29, 2002 at 23:19:05 +0100, Peter Eisentraut <peter_e@gmx.net> wrote:
> 
> There isn't a way right now, but it's planned to be able to dump
> floating-point numbers in some binary form (like printf("%A")) to be able
> to restore them exactly.  Not sure how that would satisfy the needs of
> client interfaces, though.

Why not print it as a floating binary number instead of a floating decimal
number? I would think that would give you better portability than a system
specific binary representation.


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

Предыдущее
От: Paul Ramsey
Дата:
Сообщение: Re: Trigger on 'create table' ?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.3b3 passes on MacOSX 10.2.1