Re: [fun] unsigned int is not big enough (was: lfs-chat Digest, Vol 1288, Issue 1)
Andy Bennett <[email protected]>
| Newsgroups | gmane.linux.lfs.general |
|---|---|
| Message-ID | <[email protected]> |
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