@@ -41,7 +41,7 @@ pg_add_s16_overflow(int16 a, int16 b, int16 *result)
41
41
}
42
42
43
43
/*
44
- * If a - b overflows, return true, otherwise store the result of a + b into
44
+ * If a - b overflows, return true, otherwise store the result of a - b into
45
45
* *result. The content of *result is implementation defined in case of
46
46
* overflow.
47
47
*/
@@ -61,7 +61,7 @@ pg_sub_s16_overflow(int16 a, int16 b, int16 *result)
61
61
}
62
62
63
63
/*
64
- * If a * b overflows, return true, otherwise store the result of a + b into
64
+ * If a * b overflows, return true, otherwise store the result of a * b into
65
65
* *result. The content of *result is implementation defined in case of
66
66
* overflow.
67
67
*/
@@ -101,7 +101,7 @@ pg_add_s32_overflow(int32 a, int32 b, int32 *result)
101
101
}
102
102
103
103
/*
104
- * If a - b overflows, return true, otherwise store the result of a + b into
104
+ * If a - b overflows, return true, otherwise store the result of a - b into
105
105
* *result. The content of *result is implementation defined in case of
106
106
* overflow.
107
107
*/
@@ -121,7 +121,7 @@ pg_sub_s32_overflow(int32 a, int32 b, int32 *result)
121
121
}
122
122
123
123
/*
124
- * If a * b overflows, return true, otherwise store the result of a + b into
124
+ * If a * b overflows, return true, otherwise store the result of a * b into
125
125
* *result. The content of *result is implementation defined in case of
126
126
* overflow.
127
127
*/
@@ -167,7 +167,7 @@ pg_add_s64_overflow(int64 a, int64 b, int64 *result)
167
167
}
168
168
169
169
/*
170
- * If a - b overflows, return true, otherwise store the result of a + b into
170
+ * If a - b overflows, return true, otherwise store the result of a - b into
171
171
* *result. The content of *result is implementation defined in case of
172
172
* overflow.
173
173
*/
@@ -193,7 +193,7 @@ pg_sub_s64_overflow(int64 a, int64 b, int64 *result)
193
193
}
194
194
195
195
/*
196
- * If a * b overflows, return true, otherwise store the result of a + b into
196
+ * If a * b overflows, return true, otherwise store the result of a * b into
197
197
* *result. The content of *result is implementation defined in case of
198
198
* overflow.
199
199
*/
0 commit comments