(e) Exclusion of capital gains. Gains from sales or exchanges of capital assets to the extent provided in subchapter P (
section 1201 and following, relating to capital gains and losses), chapter 1 of the Code, shall be excluded from the amounts described in this section.