Protection against division by 0