3 ms·
> 0x80 Which is of course has the sign bit set. The comments here are educational ... I hadn't realized that the field of programming had become this degraded
by jibal 1y ago
> 0x80
Which is of course has the sign bit set.
The comments here are educational ... I hadn't realized that the field of programming had become this degraded.
- superblas 1y agoSuch needless condescension, jibal.
- craftkiller 1y agoOn the contrary, there is no sign bit. You asked for 128 which is either: 1. Unrepresentable in S8 2. Representable in U8 as shown in my above comment. 3. Representable in S16 as 0x0080 but then the sign bit is not set. My comment accurately represents the hex encoding for #2.
- jibal 1y ago> Such needless condescension, jibal. THAT comment is condescending--talk about ideas, not people. I condescended to no one ... my issue is the state of computer science education. > On the contrary, there is no sign bit. You asked for 128 I didn't ask for anything. The subject here was the value range of the i8 type.
- craftkiller 1y ago> I didn't ask for anything. To quote you: "What is that in hex?"