Hi, > Use unsigned long long or float.
float is not exact. (un)signed long long is the one to use. Avoid floating point arithmetic: stick to integer or fixed point. You still have to be careful with rounding when you divide. ;-) Regards, @ndy -- [email protected] http://www.ashurst.eu.org/ 0x7EBA75FF -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
