For applications of implementing this paragraph in the situation of a charitable contribution of stock within an S corporation, regulations comparable to the rules of part 751 shall apply in pinpointing no matter if achieve on this sort of inventory would've been extended-expression capital get if these inventory were being bought from the taxpayer