whyterabbyt ·
Im finding that
out = start + ( min(static,variable) );
(in my case when variable is incrementing) isnt giving me the same behaviour as
temp = min (static,variable); out = start + temp;
which works as I expect it to.
In the former case, out seems to stay at the value of 2*start instead of a value which increments from start to static..
Curiously, replacing
out = start + ( min(static,variable) );
with
out = start + ( max(static,variable) ) ;
results in the same constant value of 2*start;