(a) where the taxpayer is an individual, the lesser ofi. the aggregate of all amounts each of which is a dividend received by the taxpayer on the share in respect of which an election was made under section 502 where section 502.0.1 does not deem the dividend to be a taxable dividend, and
ii. the amount of the loss, determined without reference to this section, reduced by the aggregate of all taxable dividends received by the taxpayer on the share; and
(b) where the taxpayer is a corporation, the aggregate of all amounts received by the taxpayer on the share each of which isi. a taxable dividend, to the extent of the amount of the dividend that was deductible under sections 738 to 745 or section 845 in computing the taxpayer’s taxable income for any taxation year,
ii. a dividend in respect of which an election was made under section 502 where section 502.0.1 does not deem the dividend to be a taxable dividend, or
iii. a life insurance capital dividend.