>> Would you be so kind to adapt the function you wrote
>> to the testpad and see what you get please?

The key difference between what I posted here, and the recursive version I gave you ages ago lies in the format strings. Have at it yourself and come back successful or with problems.

>> All the compiler optimization stuff is beyond the scope
>> of this thread [I am a beginner for the time being].

I didn't say it was slow, I said it was wrong.

I'm going to go to sleep now.