returns 1 if "a*b + add" has no negative terms/factors and doesn't overflow
| 1049 | !defined(STBI_NO_HDR) |
| 1050 | // returns 1 if "a*b + add" has no negative terms/factors and doesn't overflow |
| 1051 | static int stbi__mad2sizes_valid(int a, int b, int add) { |
| 1052 | return stbi__mul2sizes_valid(a, b) && stbi__addsizes_valid(a * b, add); |
| 1053 | } |
| 1054 | #endif |
| 1055 | |
| 1056 | // returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow |
no test coverage detected