Skip to content

Overflow of uintN? #581

Description

@ske2004
fn main() {
    a := uint16(0x0)
    b := uint16(0x1)
    r := a-b
    printf("Hello, World! %d\n", r)
}

As far as I tested, it only happens on uintN's (not uint) and only happens on subtraction. nevermind, sorry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionHow to use the language

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions