aboutsummaryrefslogtreecommitdiffstats
path: root/libj2_j2u_to_j2i.3
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-23 19:01:49 +0100
committerMattias Andrée <m@maandree.se>2026-01-23 19:01:49 +0100
commitf124590f0c55809518dee1469c905fbbb39a4bd7 (patch)
tree85fda0cd2cc070d41b0f6d3049f16ddc7c8e2cee /libj2_j2u_to_j2i.3
parentm (diff)
downloadlibj2-master.tar.gz
libj2-master.tar.bz2
libj2-master.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libj2_j2u_to_j2i.3')
-rw-r--r--libj2_j2u_to_j2i.312
1 files changed, 10 insertions, 2 deletions
diff --git a/libj2_j2u_to_j2i.3 b/libj2_j2u_to_j2i.3
index 30687e1..a6cb8ca 100644
--- a/libj2_j2u_to_j2i.3
+++ b/libj2_j2u_to_j2i.3
@@ -43,14 +43,22 @@ sequence, by design, this means that if
.I i
is negative (for the
.BR libj2_j2u_to_j2i ()
-function, this happs when
+function, this happens when
.I u
is too large to be represented by
.BR "struct libj2_j2i" ),
.I -i
and the unsigned
.I 0-u
-will have the same value.
+will have the same value, that is
+if some value
+.I a
+translates to some value
+.IR b ,
+the additive inverse of
+.I a
+translates to the additive inverse of
+.IR b .
.SH RETURN VALUE
None.