diff options
| author | Mattias Andrée <m@maandree.se> | 2025-12-11 18:32:27 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2025-12-11 18:32:27 +0100 |
| commit | 50bb696a6b4d75a097f22274834f67961fa9e440 (patch) | |
| tree | 44270d52d6440c02b30b4b7d49950519770585c2 /libj2_j2u_max.c | |
| parent | cleanup (diff) | |
| download | libj2-50bb696a6b4d75a097f22274834f67961fa9e440.tar.gz libj2-50bb696a6b4d75a097f22274834f67961fa9e440.tar.bz2 libj2-50bb696a6b4d75a097f22274834f67961fa9e440.tar.xz | |
Add signed integers (arithmetics and some testing not implemented yet)
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libj2_j2u_max.c')
| -rw-r--r-- | libj2_j2u_max.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libj2_j2u_max.c b/libj2_j2u_max.c index a6b7317..49fbb28 100644 --- a/libj2_j2u_max.c +++ b/libj2_j2u_max.c @@ -21,6 +21,9 @@ main(void) EXPECT(~value.high == 0); EXPECT(~value.low == 0); + libj2_j2u_add_ju(&value, 1U); + EXPECT(libj2_j2u_is_zero(&value)); + return 0; } |
