# Golden ratio, 2,747 decimals: ready memory for the HP-16C CE with our extended-memory firmware.
# This file only checks that the memory file restores correctly.
# The full run (lines starting with "#keys") takes a long time; remove the "#" to try it.
load ../samples/phi-2747-ext-ready.16cmem
fmem = P-0 r-0164
#keys 1 STO SST 2528750 g 8          # 1 STO I, then 2890 x 875 g ABS (copies it to LAST X)
#keys GSB E                          # long run; stops with 0
#expect 0 d
#keys 163 STO SST 2890 ENTER 3230 STO 0 GSB C   # final pass
#expect 0 d
#keys 100000000 STO 0 GSB D          # first 8 decimals
#expect 61803398 d
#keys R/S
#expect 87498948 d
