| 643 | #define st_add4(a,b,c,d) st_add(st_add3((a),(b),(c)),(d)) |
| 644 | |
| 645 | static inline size_t st_mult(size_t a, size_t b) |
| 646 | { |
| 647 | if (unsigned_mult_overflows(a, b)) |
| 648 | die("size_t overflow: %"PRIuMAX" * %"PRIuMAX, |
| 649 | (uintmax_t)a, (uintmax_t)b); |
| 650 | return a * b; |
| 651 | } |
| 652 | |
| 653 | static inline size_t st_sub(size_t a, size_t b) |
| 654 | { |
no test coverage detected