ensure that NUMERATOR is not divisible by DENOMINATOR, fix #69098
Merge pull request #75862 from mauk81/patch-4

ensure that NUMERATOR is not divisible by DENOMINATOR, fix #69098