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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.