At 15:48 20/02/01 -0500, Tom Lane wrote: > >The existing default of FLT_DIG or DBL_DIG digits seems like a good >general-purpose policy, but it doesn't meet all needs. For pg_dump, >we clearly would like to promise exact dump and restore. On the >other side, the geometry regress tests would like to suppress a few >of the noisier low-order digits. And we frequently see questions from >users about how they can display fewer digits than the system wants to >give them --- or, more generally, format the output in some special >form. > If I could add another 'nice-to-have' in here: the ability on a per-attribute basis to specify the preferred output format. This could apply to real, date, integer etc etc. Clearly not a 7.1 feature. ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.B.N. 75 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/
- Re: [HACKERS] floating point representation Hiroshi Inoue
- Re: [HACKERS] floating point representation Tom Lane
- [HACKERS] Re: floating point representation Thomas Lockhart
- Re: [HACKERS] floating point representation Pete Forman
- Re: [HACKERS] floating point representation Tom Lane
- Re: [HACKERS] floating point representation Bruce Momjian
- Re: [HACKERS] floating point representation Peter Eisentraut
- Re: [HACKERS] floating point representation Tom Lane
- Re: [HACKERS] floating point representation Philip Warner
- Re: [HACKERS] floating point representation Peter Eisentraut
- Re: [HACKERS] floating point representation Philip Warner
- Re: [HACKERS] floating point representation Bruce Momjian
- Re: [HACKERS] floating point representation Tom Lane
- [HACKERS] Re: floating point representation Thomas Lockhart
- [HACKERS] Re: floating point representation Bruce Momjian
- Re: [HACKERS] floating point representation Peter Eisentraut
- Re: [HACKERS] floating point representation Bruce Momjian
- Re: [HACKERS] floating point representation Peter Eisentraut
- Re: [HACKERS] floating point representation Tom Lane
- Re: [HACKERS] floating point representation Tom Lane
- Re: [HACKERS] floating point representation Hiroshi Inoue