Re: floating point representation

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: floating point representation
Дата
Msg-id Pine.LNX.4.30.0102161753210.1009-100000@peter.localdomain
обсуждение исходный текст
Ответ на floating point representation  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Ответы Re: floating point representation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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
Дата:
Сообщение: Quick question about 7.1 & SQL92 Entry Level
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Open 7.1 items