Re: Ryu floating point output patch

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Donald Dong <xdong(at)csumb(dot)edu>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chapman Flack <chap(at)anastigmatix(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Ryu floating point output patch
Date: 2019-01-14 03:35:09
Message-ID: CAKFQuwY88byqB3cMhFM2orPAHXq-febE9XS4B29uMaYXnx0CNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sunday, January 13, 2019, Donald Dong <xdong(at)csumb(dot)edu> wrote:
>
> Also I wonder why do we need to make this change?
> -int extra_float_digits = 0; /* Added to DBL_DIG or
> FLT_DIG */
> +int extra_float_digits = 1; /* Added to DBL_DIG or
> FLT_DIG */
>

From the original post:

“This version of the patch continues to use extra_float_digits to select
whether Ryu output is used - but I've also changed the default, so that
Ryu is used unless you explicitly set extra_float_digits to 0 or less.”

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-01-14 04:14:26 Re: Reducing header interdependencies around heapam.h et al.
Previous Message Andres Freund 2019-01-14 03:05:03 Re: Reducing header interdependencies around heapam.h et al.