I've made a patch to compare 2 numbers and calculate the range between them. It works! ...but strangely not always - sometimes it outputs the wrong number, like something got stuck along the way and a number that I gave in previously is compared to the new #1 or #2.
I can't seem to find out what's the problem, although I have a hunch it occurs more often when I use the same numbers (like 0 and 0) or make use of one or two negative numbers. To me it occurs just too random to make sense, anyone has an idea what could be wrong?