def calculate_die_complexity_factor(
    area: float,
    feature_size: float,
) -> float:
    """Calculate the die complexity correction factor (piCD).

    :param area: the area of the die in sq. cm.
    :param feature_size: the size of the die features in microns.
    :return: _pi_cd; the die complexity factor.
    :rtype: float
    :raise: ZeroDivisionError if feature_size is zero.
    """
    return ((area / 0.21) * (2.0 / feature_size) ** 2.0 * 0.64) + 0.36