Re: float output precision questions
От | Peter Eisentraut |
---|---|
Тема | Re: float output precision questions |
Дата | |
Msg-id | Pine.LNX.4.44.0210301926560.2006-100000@localhost.localdomain обсуждение исходный текст |
Ответ на | Re: float output precision questions (Bruno Wolff III <bruno@wolff.to>) |
Ответы |
Re: float output precision questions
|
Список | pgsql-hackers |
Bruno Wolff III writes: > 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. The printf("%A") output is not system-specific. -- Peter Eisentraut peter_e@gmx.net
В списке pgsql-hackers по дате отправления: