RosettaCodeData/Task/Pathological-floating-point-problems/Stata/pathological-floating-point-problems-2.stata
2023-07-01 13:44:08 -04:00

6 lines
133 B
Text

clear
set obs 26
gen year=_n-1
gen balance=exp(1)-1 in 1
replace balance=year*balance[_n-1]-1 in 2/l
list balance if year==25, noobs