Skip to content

Update Leb128 Calculation #25

@morgankenyon

Description

@morgankenyon

Right now, my Leb128 algorithm works well for signed integers, but does not work correctly for unsigned integers.

In AssemblyScript, a u32.MAX_VALUE generates a WebAssembly number of i32.const -1. Whereas mine generates 0xFFFFFFFF0F.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions