Skip to content

Signed 16-bit integers are incorrect in figure #849

Description

@jlelia

In the first figure of the Datatypes module, a 16-bit signed integer (1111111111111111) is reported as -65536, but that would be a 17-bit (11111111111111111) signed integer. Signed integers have half the absolute range given one bit is used for the sign.

I think the goal may have been closer to showing something like:
1000000000000000 = −32,768
1000000000000100 = −32,764

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions