Historical impact of inflation and deflation