Re: Motion P1788/M0036.03: NO Flavors
On 2012-08-30 17:35:25 +0200, Dominique Lohez wrote:
> IMHO the right comparison would between natural numbers and relative
> number.
Yes, in C, one has signed and unsigned integer arithmetics. For
some types, the "flavor" is explicit, but for other types and
for some intermediate results (e.g. when adding an unsigned int
and a long), this depends on the implementation.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)