aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-18 12:12:29 +0100
committerMattias Andrée <m@maandree.se>2026-01-18 12:12:29 +0100
commitde95088ab08ce7ff95aa6134ca875d9b28380288 (patch)
tree3799bd249b717ffee828af84bb34181a87bda7ca
parentAdd lsh man pages (diff)
downloadlibj2-de95088ab08ce7ff95aa6134ca875d9b28380288.tar.gz
libj2-de95088ab08ce7ff95aa6134ca875d9b28380288.tar.bz2
libj2-de95088ab08ce7ff95aa6134ca875d9b28380288.tar.xz
Fix documentation
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--libj2/bit-shifting.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libj2/bit-shifting.h b/libj2/bit-shifting.h
index b04a533..515a1d4 100644
--- a/libj2/bit-shifting.h
+++ b/libj2/bit-shifting.h
@@ -1138,7 +1138,7 @@ libj2_ji_rsh_to_j2i(intmax_t a, unsigned b, struct libj2_j2i *res)
* positive underflow,
* -1 if `*a` was negative and a cleared bit
* was shifted out (discarded), that is, a
- * positive underflow,
+ * negative underflow,
* 0 otherwise
*
* @since 1.1
@@ -1180,7 +1180,7 @@ libj2_j2i_rsh_to_j2i_underflow(const struct libj2_j2i *a, unsigned b, struct lib
* positive underflow,
* -1 if `*a` was negative and a cleared bit
* was shifted out (discarded), that is, a
- * positive underflow,
+ * negative underflow,
* 0 otherwise
*
* @since 1.1
@@ -1217,7 +1217,7 @@ libj2_j2i_rsh_underflow(struct libj2_j2i *a, unsigned b)
* positive underflow,
* -1 if `a` was negative and a cleared bit
* was shifted out (discarded), that is, a
- * positive underflow,
+ * negative underflow,
* 0 otherwise
*
* @since 1.1
@@ -1246,7 +1246,7 @@ libj2_ji_rsh_to_j2i_underflow(intmax_t a, unsigned b, struct libj2_j2i *res)
* a positive underflow,
* -1 if `*a` is negative and a cleared bit
* would be shifted out (discarded), that is,
- * a positive underflow,
+ * a negative underflow,
* 0 otherwise
*
* @since 1.1
@@ -1279,7 +1279,7 @@ libj2_j2i_rsh_underflow_p(const struct libj2_j2i *a, unsigned b)
* a positive underflow,
* -1 if `a` is negative and a cleared bit
* would be shifted out (discarded), that is,
- * a positive underflow,
+ * a negative underflow,
* 0 otherwise
*
* @since 1.1