Quote Originally Posted by Delfi
seems i need new trunc implementation, any ideas how to make trunc faster?
Are you sure it's the trunc()'s causing the problems?
I would have guessed that nasty Log2() would slow it down quite a bit?

Quote Originally Posted by dmantione
Can you benchmark my Pascal solution as well:
Sure, I thought it was just an implementation of the trunc() function, but I'll run it through the test when I get back from work...