From be76af171cdb3e7465c4ef234af403f97ad79b7b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 22 May 2019 12:55:34 -0400 Subject: Initial pgindent run for v12. This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us --- src/common/d2s.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/common/d2s.c') diff --git a/src/common/d2s.c b/src/common/d2s.c index 1e4782c10a..8f4bc2a63c 100644 --- a/src/common/d2s.c +++ b/src/common/d2s.c @@ -671,9 +671,9 @@ to_chars_df(const floating_decimal_64 v, const uint32 olength, char *const resul else { /* - * We can save some code later by pre-filling with zeros. We know - * that there can be no more than 16 output digits in this form, - * otherwise we would not choose fixed-point output. + * We can save some code later by pre-filling with zeros. We know that + * there can be no more than 16 output digits in this form, otherwise + * we would not choose fixed-point output. */ Assert(exp < 16 && exp + olength <= 16); memset(result, '0', 16); @@ -800,8 +800,8 @@ to_chars(floating_decimal_64 v, const bool sign, char *const result) /* * The thresholds for fixed-point output are chosen to match printf - * defaults. Beware that both the code of to_chars_df and the value - * of DOUBLE_SHORTEST_DECIMAL_LEN are sensitive to these thresholds. + * defaults. Beware that both the code of to_chars_df and the value of + * DOUBLE_SHORTEST_DECIMAL_LEN are sensitive to these thresholds. */ if (exp >= -4 && exp < 15) return to_chars_df(v, olength, result + index) + sign; -- cgit v1.2.1