@@ -41,7 +41,7 @@ pg_add_s16_overflow(int16 a, int16 b, int16 *result)
4141}
4242
4343/*
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
4545 * *result. The content of *result is implementation defined in case of
4646 * overflow.
4747 */
@@ -61,7 +61,7 @@ pg_sub_s16_overflow(int16 a, int16 b, int16 *result)
6161}
6262
6363/*
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
6565 * *result. The content of *result is implementation defined in case of
6666 * overflow.
6767 */
@@ -101,7 +101,7 @@ pg_add_s32_overflow(int32 a, int32 b, int32 *result)
101101}
102102
103103/*
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
105105 * *result. The content of *result is implementation defined in case of
106106 * overflow.
107107 */
@@ -121,7 +121,7 @@ pg_sub_s32_overflow(int32 a, int32 b, int32 *result)
121121}
122122
123123/*
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
125125 * *result. The content of *result is implementation defined in case of
126126 * overflow.
127127 */
@@ -167,7 +167,7 @@ pg_add_s64_overflow(int64 a, int64 b, int64 *result)
167167}
168168
169169/*
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
171171 * *result. The content of *result is implementation defined in case of
172172 * overflow.
173173 */
@@ -193,7 +193,7 @@ pg_sub_s64_overflow(int64 a, int64 b, int64 *result)
193193}
194194
195195/*
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
197197 * *result. The content of *result is implementation defined in case of
198198 * overflow.
199199 */
0 commit comments