> In both datetime_trunc() and timespan_trunc() in dt.c,
> the DTK_MICROSEC case is just like the DTK_MILLISEC case.
> I think this is wrong and it ought to look like
>         fsec = rint(fsec * 1000000) / 1000000;
> no?

Tom, I looked at this and your fix is the right thing. I am leaving
for a week of vacation, and don't have time to apply the fix. If you
would like to, be my guest :)

TIA

                   - Thomas

-- 
Thomas Lockhart				lockhart@alumni.caltech.edu
South Pasadena, California

Wed, 07 Jul 1999 00:04:55 +0000
Thomas Lockhart <lockhart@alumni.caltech.edu>
Re: A couple comments about datetime
> > In both datetime_trunc() and timespan_trunc() in dt.c,
> > the DTK_MICROSEC case is just like the DTK_MILLISEC case.
> > I think this is wrong and it ought to look like
> >         fsec = rint(fsec * 1000000) / 1000000;
> > no?
> 
> Tom, I looked at this and your fix is the right thing. I am leaving
> for a week of vacation, and don't have time to apply the fix. If you
> would like to, be my guest :)
> 

Applied.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Wed, 7 Jul 1999 23:21:25 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] Re: A couple comments about datetime