1's comp

ben bfranchuk at jetnet.ab.ca
Sat May 21 21:26:22 CDT 2016


On 5/20/2016 7:19 PM, Sean Conner wrote:

>>
>> Hehe, what is a long long? Yes, you are totally right. Still, I assert
>> that C is still the defacto most portable language on Earth. What other
>> language runs on as many OS's and CPUs ? None that I can think of.
>
>   A long long is at least 64-bits long.

Only if you get rid of char pointers you are portable.
I like 1's compilent because it handles shifting properly.
using 1's compilment unsigned would be 1 bit less in size
not 1 bit more the C standard seems to make it.
Ben.



More information about the cctalk mailing list