|
The comment about C using "unsigned int" is a good
point.
You changed the line:
if ((dataStore ^ accum) &
0x8000)
to:
if ((dataStore or accum) and $8000)
> 0 then
which isn't technically correct. It would be
correct if you were using an unsigned type but, if you are using a signed type
then you should check for "<> 0" instead.
Regards,
Bevan |
- [DUG]: C Conversion James Sugrue
- Re: [DUG]: C Conversion gajo
- Re: [DUG]: C Conversion Dennis Chuah
- RE: [DUG]: C Conversion James Sugrue
- Re: [DUG]: C Conversion Pedrocelli
- RE: [DUG]: C Conversion Bevan Edwards
- RE: [DUG]: C Conversion Jason Coley
- RE: [DUG]: C Conversion James Sugrue
- RE: [DUG]: C Conversion Paul Heinz
- RE: [DUG]: C Conversion James Sugrue
