Re: Float output formatting options

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pedro M(dot) Ferreira" <pfrazao(at)ualg(dot)pt>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Float output formatting options
Date: 2002-11-04 18:38:54
Message-ID: 23113.1036435134@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pedro M. Ferreira" <pfrazao(at)ualg(dot)pt> writes:
> Is it ok to remove #define P_MAXDIG DBL_DIG,
> change P_MAXLEN to 2*(DBL_DIG+7)+1) and
> remove the line 'static int digits8 = P_MAXDIG;' ?

Perhaps P_MAXLEN now needs to be (2*(DBL_DIG+2+7)+1), considering
that we'll allow extra_float_digits to be up to 2. What's it used for?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pedro M. Ferreira 2002-11-04 18:51:42 Re: Float output formatting options
Previous Message Tom Lane 2002-11-04 18:36:27 Re: v7.3Beta4 Tag'd and Packaged ...