Yahoo Groups archive

Digital BW, The Print

Index last updated: 2026-04-28 22:56 UTC

Message

[Digital BW] Number of tones was Re: Do inkjets dither or not?

2002-08-07 by royvharrington

> 
> > What C construct are you going to use to
> > test the carry bit out of the last arithmetic add?  Write me the 
code.
> > If you prefer a different high level lang, use that.
> 
> That's up to the C compiler what it does.  Different C compilers 
will do
> different things with the same constructs.  You should know 
that.
> 

I know what C compilers do.  I want to know what YOU are going
to give the C compiler to compile i.e. I want YOUR source
code.  If you've written so much C code you ought to be able to 
write
a couple of lines of C code that adds 2 unsigned 16 bit numbers
and forces the result to the maximum unsigned 16 bit number if 
there is
overflow.  I want ordinary C code that could be compiled on
any computer with a C compiler on it and will work identically
and correctly on every single one.

Roy

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.