Hello! > But you can't get rid of: > z + (z < sum) > which is the real bottleneck. Perhaps this doesn't cost much > on high end CPUs but it sure does on embedded CPUs Why should it be? It can be compiled as a sequence of "add with carry" instructions, can't it?
Have a nice fortnight -- Martin `MJ' Mares <m...@ucw.cz> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth A student who changes the course of history is probably taking an exam.