In article <1170807968.3893.8.camel@linux.site>, Jonathan Osuch <osuchj@avalon.net> writes:
On Mon, 2007-02-05 at 21:16 -0700, Richard wrote:
Why do this?
loadfile.c(625): fractinf_len = FRACTAL_INFO_SIZE + (FRACTAL_INFO_SIZE+254)/255;
Its almost like the intention is to round up to the next multiple of 255, but that would be this: 255*((FRACTAL_INFO_SIZE + 254)/255)
What's the purpose of this line? I'm not getting it.
I don't understand how you reached the conclusion that it would be 255*((FRACTAL_INFO_SIZE + 254)/255).
No conclusion, just stabs in the dark until I hear something squeal. As I say, I don't get the purpose of that code. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/>