K
Kasterborus
I'm having trouble writing a loop using integer math that will
spit out 10 numbers and slowly make them all tend to 2048.
Ideally this loop should take about 400 iterations, and with each pass
calculate 10 values
i.e:
Starting iteration:
0 455 910 1365 1820 2275 2730 3185 3640 4095
Ending iteration:
2048 2048 2048 2048 2048 2048 2048 2048 2048 2048
(or as close as can be eg.
2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 ).
I can successfully make an 11 value sequence work, but 10 is proving
to be tricky...
Anyone know how to do this?
Steve
spit out 10 numbers and slowly make them all tend to 2048.
Ideally this loop should take about 400 iterations, and with each pass
calculate 10 values
i.e:
Starting iteration:
0 455 910 1365 1820 2275 2730 3185 3640 4095
Ending iteration:
2048 2048 2048 2048 2048 2048 2048 2048 2048 2048
(or as close as can be eg.
2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 ).
I can successfully make an 11 value sequence work, but 10 is proving
to be tricky...
Anyone know how to do this?
Steve