throw error for denominator 0
Merge remote-tracking branch 'origin/master'