Messages in this thread | | | From | chip@atlantic ... | Subject | Re: negating unsigned | Date | Thu, 22 Jan 1998 08:31:04 -0500 (EST) |
| |
According to David Howells: > > Will "~phys_addr + 1" be compiler-safer than "-phys_addr" above?
Nope.
> What effect does negating an unsigned number have?
Just what's quoted: -u means (~u) + 1. -- Chip Salzenberg - a.k.a. - <chip@pobox.com> "We can shower it with neutrons." "Or we can do the Neutron Dance!" // MST3K
| |