LWN.net Logo

Quotes of the week

Quotes of the week

Posted Aug 19, 2010 10:47 UTC (Thu) by jengelh (subscriber, #33263)
Parent article: Quotes of the week

You would pick unsigned whenever it makes sense, except when you want to store/return negative values and ~0U is not acceptable to pose as -1. After that comes signed.


(Log in to post comments)

Quotes of the week

Posted Aug 19, 2010 14:52 UTC (Thu) by vonbrand (subscriber, #4458) [Link]

What he says is what the C standard (modulo GCCisms) says, not what would me right/nicest for Linux (the kernel).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds