Re: double and numeric conversion - Mailing list pgsql-hackers

From Grzegorz Jaskiewicz
Subject Re: double and numeric conversion
Date
Msg-id D33DC24F-9C7D-440B-B55C-A519CD1F3342@pointblue.com.pl
Whole thread Raw
In response to Re: double and numeric conversion  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List pgsql-hackers
On 3 Mar 2010, at 17:41, Grzegorz Jaskiewicz wrote:

> if (p1 > buf)
>            ++ * --p1;
>        else {
> 
> ....
> 
> 
> ++ * --p1; ???
> 
> does it even compile ?

Oh, I can see, that it is *(--p1)++ ,mea culpa.

Which doesn't change the fact, that the code is rather messy imo. 



pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: double and numeric conversion
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] to_timestamp() and quartersf