nix_usinflation

United States of America Dollar inflation calculator
git clone https://0xdd.org/code/nix_usinflation.git
Log | Files | Refs | README | LICENSE

commit 01b868f5818dc19cc6181ceef9448b61fe8ace16
parent d128268ea9d70880d70a37464f9000a30cf9cf9f
Author: David DiPaola <DavidDiPaola@users.noreply.github.com>
Date:   Mon, 31 Dec 2018 21:50:08 -0500

including data values by default so python is now an optional build dependency

Diffstat:
M.gitignore | 2--
Adata.h | 111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 111 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,6 +1,4 @@ usinflation -data.h - .*.swp diff --git a/data.h b/data.h @@ -0,0 +1,111 @@ +const int DATA_STARTYEAR = 1913; +const int DATA_ENDYEAR = 2018; + +const float DATA[] = { + 9.884615f, + 9.984615f, + 9.930769f, + 10.623077f, + 12.538462f, + 14.853846f, + 17.146154f, + 19.730769f, + 17.407692f, + 16.323077f, + 16.430769f, + 16.515385f, + 17.146154f, + 17.253846f, + 16.930769f, + 16.753846f, + 16.776923f, + 16.353846f, + 14.915385f, + 13.407692f, + 12.723077f, + 13.123077f, + 13.376923f, + 13.338462f, + 13.992308f, + 13.761538f, + 13.607692f, + 13.569231f, + 14.007692f, + 15.753846f, + 16.653846f, + 16.938462f, + 17.315385f, + 18.638462f, + 21.107692f, + 22.853846f, + 22.776923f, + 22.923077f, + 24.784615f, + 25.538462f, + 25.838462f, + 25.823077f, + 25.823077f, + 26.269231f, + 27.269231f, + 28.115385f, + 28.630769f, + 29.838462f, + 30.630769f, + 30.969231f, + 31.569231f, + 32.753846f, + 32.361538f, + 32.938462f, + 33.784615f, + 35.061538f, + 37.353846f, + 39.061538f, + 40.461538f, + 41.753846f, + 43.784615f, + 48.538462f, + 53.861538f, + 57.330769f, + 60.876923f, + 68.676923f, + 76.092308f, + 84.346154f, + 92.123077f, + 97.438462f, + 99.215385f, + 103.375000f, + 106.187500f, + 108.243750f, + 114.043750f, + 118.275000f, + 123.606250f, + 129.537500f, + 135.300000f, + 139.818750f, + 143.681250f, + 146.100000f, + 149.187500f, + 152.756250f, + 157.768750f, + 161.793750f, + 165.725000f, + 171.075000f, + 176.856250f, + 180.825000f, + 184.725000f, + 188.887500f, + 195.462500f, + 203.106250f, + 209.905812f, + 218.323812f, + 218.522062f, + 220.444438f, + 226.684125f, + 231.759750f, + 235.213813f, + 239.085187f, + 241.588437f, + 245.912188f, + 250.206125f, + 251.215167f, +};