Remix.run Logo
craftkiller 2 days ago

On 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.