Closed reunanen closed 4 months ago
About safe multiplication: Starting with C23, C has ckd_mul(): if (ckd_mul(&res, a, b)) { res is wrapped result} else { res is correct result} Other languages would need the same.
Closed this PR in favor of https://github.com/AngusJohnson/Clipper2/pull/834.
Resolves #831.