Re: Numeric patch to add special-case representations for < 8 bytes
От | Patric Bechtel |
---|---|
Тема | Re: Numeric patch to add special-case representations for < 8 bytes |
Дата | |
Msg-id | 45E7CDF7.6010100@ipcon.de обсуждение исходный текст |
Ответ на | Re: Numeric patch to add special-case representations for < 8 bytes (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Numeric patch to add special-case representations for < 8 bytes
|
Список | pgsql-patches |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Lane schrieb am 02.03.2007 14:38: > Gregory Stark <stark@enterprisedb.com> writes: >> If we stored the digits in base 2 with a base 10 exponent would it really be >> too hard to output the digits? > > Exact decimal fractions are no longer exact when converted to base 2. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > I think multiplying with base 10 until it's a whole number, then saving that exponent with it, that's how I understood it. Patric -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: GnuPT 2.5.2 iD8DBQFF5833fGgGu8y7ypARAirsAKCen8BkMyW4cfkoqwEpGo3lThYrJACfWs8L tnWKkJ/a9aQiO0YQls/YGHg= =YNlB -----END PGP SIGNATURE-----
В списке pgsql-patches по дате отправления: