Skip to content

Add support for base 128 and 256 for int types #3

Description

@Joel-Nickson

A quick check on the mojo playground revealed that base int128 types are not available in mojo and so computing large numbers showed negative values due to bit shift I presume

In Mojo
image

In Python
image

Questions

  • Why are there no types for base 128 or 256 yet? eg: Int128, Int256
  • Wouldn't it cause a problem when transpiring the Python code to Mojo?

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