@@ -33,8 +33,8 @@ func (n1 *Count32) Increment(n2 Count32) {
3333 * n1 = n1 .Plus (n2 )
3434}
3535
36- // Adjust `*n1` to be `max(*n1, n2)` and return true iff n2 was
37- // bigger. Favor `*n1` if they are equal .
36+ // AdjustMaxIfNecessary adjusts `*n1` to be `max(*n1, n2)`. Return
37+ // true iff `n2` was greater than `*n1` .
3838func (n1 * Count32 ) AdjustMaxIfNecessary (n2 Count32 ) bool {
3939 if n2 > * n1 {
4040 * n1 = n2
@@ -44,8 +44,8 @@ func (n1 *Count32) AdjustMaxIfNecessary(n2 Count32) bool {
4444 }
4545}
4646
47- // Adjust `*n1` to be `max(*n1, n2)` and return true iff n2 was
48- // bigger. Favor `n2` if they are equal.
47+ // AdjustMaxIfPossible adjusts `*n1` to be `max(*n1, n2)`. Return true
48+ // iff `n2` was greater than or equal to `*n1` .
4949func (n1 * Count32 ) AdjustMaxIfPossible (n2 Count32 ) bool {
5050 if n2 >= * n1 {
5151 * n1 = n2
@@ -81,8 +81,8 @@ func (n1 *Count64) Increment(n2 Count64) {
8181 * n1 = n1 .Plus (n2 )
8282}
8383
84- // Adjust `*n1` to be `max(*n1, n2)` and return true iff n2 was
85- // bigger. Favor `*n1` if they are equal .
84+ // AdjustMaxIfNecessary adjusts `*n1` to be `max(*n1, n2)`. Return
85+ // true iff `n2` was greater than `*n1` .
8686func (n1 * Count64 ) AdjustMaxIfNecessary (n2 Count64 ) bool {
8787 if n2 > * n1 {
8888 * n1 = n2
@@ -92,8 +92,8 @@ func (n1 *Count64) AdjustMaxIfNecessary(n2 Count64) bool {
9292 }
9393}
9494
95- // Adjust `*n1` to be `max(*n1, n2)` and return true iff n2 was
96- // bigger. Favor `n2` if they are equal.
95+ // AdjustMaxIfPossible adjusts `*n1` to be `max(*n1, n2)`. Return true
96+ // iff `n2` was greater than or equal to `*n1` .
9797func (n1 * Count64 ) AdjustMaxIfPossible (n2 Count64 ) bool {
9898 if n2 > * n1 {
9999 * n1 = n2
0 commit comments