Skip to content

Commit b3d7af4

Browse files
committed
Fix sloppy comment.
1 parent c4d0ff3 commit b3d7af4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/backend/utils/adt/date.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.75 2003/01/09 01:06:57 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.76 2003/01/22 20:44:20 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -656,7 +656,7 @@ AdjustTimeForTypmod(TimeADT *time, int32 typmod)
656656
/*
657657
* Note: this round-to-nearest code is not completely consistent
658658
* about rounding values that are exactly halfway between integral
659-
* values. On most platforms, rint() will implement round-to-nearest,
659+
* values. On most platforms, rint() will implement round-to-nearest-even,
660660
* but the integer code always rounds up (away from zero). Is it
661661
* worth trying to be consistent?
662662
*/

src/backend/utils/adt/timestamp.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/timestamp.c,v 1.76 2003/01/09 01:06:57 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/timestamp.c,v 1.77 2003/01/22 20:44:20 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -206,7 +206,7 @@ AdjustTimestampForTypmod(Timestamp *time, int32 typmod)
206206
/*
207207
* Note: this round-to-nearest code is not completely consistent
208208
* about rounding values that are exactly halfway between integral
209-
* values. On most platforms, rint() will implement round-to-nearest,
209+
* values. On most platforms, rint() will implement round-to-nearest-even,
210210
* but the integer code always rounds up (away from zero). Is it
211211
* worth trying to be consistent?
212212
*/
@@ -677,7 +677,7 @@ AdjustIntervalForTypmod(Interval *interval, int32 typmod)
677677
/*
678678
* Note: this round-to-nearest code is not completely consistent
679679
* about rounding values that are exactly halfway between integral
680-
* values. On most platforms, rint() will implement round-to-nearest,
680+
* values. On most platforms, rint() will implement round-to-nearest-even,
681681
* but the integer code always rounds up (away from zero). Is it
682682
* worth trying to be consistent?
683683
*/

0 commit comments

Comments
 (0)