Yahoo Groups archive

Digital BW, The Print

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

Message

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

2002-08-07 by Austin Franklin

> > > 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, you're being silly.  The world doesn't work that way.  Good programmers
understand their tools, and typically know what their C compiler of choice
is going to do in cases that are important...and they look at the output of
the compiler to see what it's doing, or they simply write that routine in
assembly language.

Austin

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.