Ansi Codes from 'C'
04-Sep-90 02:35:48
Sb: #118997-Ansi Codes from 'C'
Fm: Mike Spille/Manx 71545,1466
To: Don Curtis/SYSOP 76703,4321
Wow, that's what Lattice does? That looks wrong to me. If you consider
the hex constant to be '1b0' (which ANSI says is what it should be…),
then it should be chopped into 0xb0, with the 1 being thrown into the bit
bucket.
I suspect that Lattice is doing it the way most people would suspect, but
then threw in the warning to conform with ANSI. Well, ANSI does say the
result is 'implimentation defined', so I guess there method couldn't be
construed as wrong.
-Mike