Except as otherwise provided in this section, the net direct interest expense with respect to any market discount bond shall be allowed as a deduction for the taxable year only to the extent that such expense exceeds the portion of the market discount allocable to the days during the taxable year on which such bond was held by the taxpayer (as determined under the rules of section
1276
(b)).