Skip to content

uint type #324

@giann

Description

@giann

#306 is planned to extend int size but we could also add an unsigned integer type:

  • Extends integer size for most usage (empirically we find that you hit the integer size limit in the positive rather than the negative)
  • Enforce the fact that an integer must be positive
  • BUT: adds a new edge case that can break at runtime when the value is pushed below 0. But we could simply overflow.
  • BUT: adds complexity when we will want to do arithmetic between int and uint

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageIssue related to the languageproposalSomething we consider doing

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions