pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Herbert <Marc.Herbert@continuent.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: binary protocol was Performance problem with timestamps in result sets
Date: Fri, 10 Mar 2006 16:49:44 +0100
Message-ID: <khjbqwe5mg7.fsf@meije.emic.fr> (raw)
References: <00cc01c64376$7661ca40$c29c143e@w128mtec>
	<224f32340603091605x59673fdt9a8d69b4f5512c22@mail.gmail.com>
	<khjirqm5mrq.fsf@meije.emic.fr>

Marc Herbert <Marc.Herbert@continuent.com> writes:

> To represent binary IEEE754's floats (4 bytes) without loss the
> maximum required number of base10 digits is 9. For IEEE754's doubles
> (8 bytes) it's 17. I don't know what is the "average" required number
> of digits.

Sorry, forgot to precise: that's just for the fraction. You need to
add representations for sign and exponent.







view thread (6+ messages)

Message-ID: <khjbqwe5mg7.fsf@meije.emic.fr>
Permalink:  ../khjbqwe5mg7.fsf@meije.emic.fr/
Also on:    postgresql.org/message-id/khjbqwe5mg7.fsf@meije.emic.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Marc.Herbert@continuent.com
  Subject: Re: binary protocol was Performance problem with timestamps in result sets
  In-Reply-To: <khjbqwe5mg7.fsf@meije.emic.fr>
  References: <00cc01c64376$7661ca40$c29c143e@w128mtec> <224f32340603091605x59673fdt9a8d69b4f5512c22@mail.gmail.com> <khjirqm5mrq.fsf@meije.emic.fr> <khjbqwe5mg7.fsf@meije.emic.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox