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

6 lines
144 B
Text

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