Matt Gray

Whew!

Feb 17, 2003

That felt good. I just discovered the rounding error that was causing me no end of stress.. how would you feel if all of a sudden you discovered gigabytes of data were incorrect? A little queasy, I’d wager. Turns out the error was that sprintf() was rounding decimals that should have been either rounded or truncated much earlier in the program flow.

← Previous Post Next Post →