aboutsummaryrefslogtreecommitdiffstats
path: root/libj2_j2i_sub_j2i_to_j2i_overflow.c (unfollow)
Commit message (Collapse)AuthorFilesLines
7 hoursTestingMattias Andrée3-2/+296
Signed-off-by: Mattias Andrée <m@maandree.se>
13 hoursAdd signed arithmeticsMattias Andrée97-101/+5811
Signed-off-by: Mattias Andrée <m@maandree.se>
13 daysFix libj2_j2u_add_j2u_overflow_pMattias Andrée2-0/+6
Signed-off-by: Mattias Andrée <m@maandree.se>
13 daysAdd man page aliases for enum valuesMattias Andrée8-1/+15
Signed-off-by: Mattias Andrée <m@maandree.se>
13 daysAdd negative overflow to enum libj2_overflowMattias Andrée2-12/+54
Signed-off-by: Mattias Andrée <m@maandree.se>
13 daysDocument the macros, structs, and enumMattias Andrée14-5/+169
Signed-off-by: Mattias Andrée <m@maandree.se>
13 daysFix and test signed left-shiftMattias Andrée5-88/+224
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13m docMattias Andrée2-4/+4
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13Fix grammar (uintmax_t begins with a j-sound so the indefinite article is "a", not "an")Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13Test libj2_j2i_to_strMattias Andrée3-16/+73
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13Add missing libj2_j2i_to_str.cMattias Andrée2-0/+15
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13List all functions in README and libj2.7Mattias Andrée2-3/+1450
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13libj2_max_j2i.c, libj2_min_j2i.c: add tests with mixure of signumsMattias Andrée2-4/+210
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13libj2_max_j2i.c, libj2_min_j2i.c: add testing for negative valuesMattias Andrée2-2/+338
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13Improve testingMattias Andrée2-0/+4
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-13Fix and test signed right-shiftMattias Andrée3-8/+275
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-12Add some tests and fix mistakesMattias Andrée10-23/+832
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-11Add signed integers (arithmetics and some testing not implemented yet)Mattias Andrée154-432/+7969
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-07cleanupMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-07Add libj2_j2u_to_str and libj2_str_to_j2uMattias Andrée5-2/+1095
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-06Add saturated arithmetic operationsMattias Andrée37-40/+1288
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-06Add division with underflow detection1.0Mattias Andrée8-1/+252
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-06Document in which version everything was addedMattias Andrée13-0/+518
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-06Add overflow and underflow prediction functionsMattias Andrée39-10/+1081
Signed-off-by: Mattias Andrée <m@maandree.se>
2025-12-05Second commitMattias Andrée57-36/+3475
Signed-off-by: Mattias Andrée <m@maandree.se>