Re: floating point representation

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: floating point representation
Дата
Msg-id
Pine.LNX.4.30.0102161753210.1009-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
Re: floating point representation Thomas Lockhart <lockhart@alumni.caltech.edu>
Re: floating point representation Bruce Momjian <pgman@candle.pha.pa.us>
Hiroshi Inoue writes:

> Is there a way to change the precision of floating
> point representation from clients ?

Not currently, but I image it couldn't be too hard to introduce a
parameter that changes the format string used by float*out to something
else.

The GNU C library now offers a %a (and %A) format that prints floating
point numbers in a semi-internal form that is meant to be portable.  (I
image this was done because of C99, but I'm speculating.)  It might be
useful to offer this to preserve accurate data across dumps.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-hackers по дате отправления
От: Peter T Mount
Дата:
От: Bruce Momjian
Дата:
Сообщение: Re: Open 7.1 items
FAQ