How Inflation Changes the Real Value of Long-Term Investment Gains