|
6 | 6 | * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 |
| - * $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.54 2005/08/12 18:23:56 tgl Exp $ |
| 9 | + * $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.55 2005/10/07 20:13:16 momjian Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -164,7 +164,7 @@ typedef int32 fsec_t;
|
164 | 164 | typedefdoublefsec_t;
|
165 | 165 |
|
166 | 166 | #defineTIME_PREC_INV 1000000.0
|
167 |
| -#defineJROUND(j) (rint(((double) (j))*TIME_PREC_INV)/TIME_PREC_INV) |
| 167 | +#defineJROUND(j) (rint(((double) (j)) *TIME_PREC_INV) /TIME_PREC_INV) |
168 | 168 | #endif
|
169 | 169 |
|
170 | 170 | #defineTIMESTAMP_MASK(b) (1 << (b))
|
|