Skip to content

Update Leb128 Calculation #25

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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