The checked forms checkforoverflow and generate a runtime exception if the resulting value exceeds the limits of the target type.
执行检查形式将会检查溢出情况,如果结果值超出目标类型的限制,则会生成运行时异常。
2
To avoid any division by zero or overflow, transform all division into multiplication and checkfor the sign (horizontal lines with Y2=Y1 do not count in the algorithm)